Interface: SidebarOptions

PSPDFKit.SidebarOptions

This object includes different options that specific to some of the available sidebar modes.

Currently only the annotations sidebar can be customized. More specifically, one can define the record types to show in the annotation sidebar, as well as expanding it by optionally rendering comments in that sidebar.

Example

PSPDFKit.load({
  initialViewState: new PSPDFKit.ViewState({
    sidebarOptions: {
      [PSPDFKit.SidebarMode.ANNOTATIONS]: {
        includeContent: [PSPDFKit.Annotations.ImageAnnotation]
      }
    }
  })
});



See also