-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Description
I have set the kioskMode to false. Despite setting it to false, unable to see the toolbar in the viewer.
I am using papaya.js build version=1456
Following is the code I am using -
var params = []
// Images
params["images"] = files.filter(item => item.includes('nii'));
params["surfaces"] = files.filter(item => item.includes('gii'))
// UI Parameters
params['fullScreen'] = false
params["kioskMode"] = false;
params["showControlBar"] = true;
params["expandable"] = true;
// Display Parameters
params["worldSpace"] = true;
params["showOrientation"] = true;
params["showRuler"] = true;
papaya.Container.startPapaya()
papaya.Container.resetViewer(0, params);
HTML:
<body>
<div class="papaya" data-params="params"></div>
</body>
Please find the screenshot below that indicates that the toolbar is loading, however not populating with the menu items.

If I set kioskMode to true this div is not loaded in the DOM.
Could someone please assist me in this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels