Nutrient Web SDK

v0.0.0-dev

ReferenceAttachmentsSidebarOptions

Type Alias AttachmentsSidebarOptions

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

Type Alias

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.