Nutrient Web SDK
    Preparing search index...

    Type Alias AttachmentsSidebarOptions

    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
    }
    }
    })
    });
    type AttachmentsSidebarOptions = {
        disablePreview: boolean;
    }
    Index

    Properties

    Properties

    disablePreview: boolean

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