Optionalcfg: RecursivePartial<ExtractValues<Record<string, never>>>ReadonlynameDisplay name of the plugin
ReadonlysettingsPlugin settings
ReadonlyviewerStatic ReadonlyToolbarToolbar items provided by the plugin
Toolbar item opening the given document in a DocumentViewerWidget.
List of plugins this plugin depends on
Indicates whether the plugin has settings
Called when the plugin is registered in the viewer.
Called when the plugin is unregistred from the viewer.
StaticCreate
Plugin registering the
DocumentViewerwidget, used to display a document (pdf, image, video, audio) in the viewport. Open it with the ShowDocumentViewerWidgetToolbarItem or anOpenWidgetCommand.Requires the
Viewportplugin to be registered. Call setupLegacyPluginsTranslation once i18next is initialized to load its translations.