The attachments sidebar options allow to specify options available for the Attachments sidebar.
Disabling preview of attachments.
NutrientViewer.load({ initialViewState: new NutrientViewer.ViewState({ sidebarOptions: { [NutrientViewer.SidebarMode.ATTACHMENTS]: { disablePreview: true } } })}); Copy
NutrientViewer.load({ initialViewState: new NutrientViewer.ViewState({ sidebarOptions: { [NutrientViewer.SidebarMode.ATTACHMENTS]: { disablePreview: true } } })});
ViewState#sidebarOptions
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.
Example
Disabling preview of attachments.
See
ViewState#sidebarOptions