Skip to content

Unable to load the toolbar #238

@pbbaba

Description

@pbbaba

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.
Screenshot 2024-07-15 at 12 28 50 PM
If I set kioskMode to true this div is not loaded in the DOM.

Could someone please assist me in this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions