Example
Disabling preview of attachments.
NutrientViewer.load({
initialViewState: new NutrientViewer.ViewState({
sidebarOptions: {
[NutrientViewer.SidebarMode.ATTACHMENTS]: {
disablePreview: true
}
}
})
});
See Also
Properties
boolean
If true, the preview of the attachment will be disabled and attachments can only be downloaded.
The attachments sidebar options allow to specify options available for the Attachments sidebar.