Interface: AttachmentsSidebarOptions

NutrientViewer.AttachmentsSidebarOptions

The attachments sidebar options allow to specify options available for the Attachments sidebar.

Properties:
Name Type Description
disablePreview boolean

If true, the preview of the attachment will be disabled and attachments can only be downloaded.

Example

Disabling preview of attachments.

NutrientViewer.load({
  initialViewState: new NutrientViewer.ViewState({
    sidebarOptions: {
      [NutrientViewer.SidebarMode.ATTACHMENTS]: {
        disablePreview: true
      }
    }
  })
});



See also