@stereograph/teiaviewer - v18.5.0-dev
    Preparing search index...

    Class ViewerPlugin<TViewer, TSettings>Abstract

    Base class for a ViewerPlugin.

    Type Parameters

    Index

    Constructors

    Properties

    name: string

    Display name of the plugin

    settings: TSettings
    viewer: TViewer
    ToolbarItems: Record<string, FunctionComponent<any>> = {}

    Record of Toolbar items exported by the plugin

    Methods

    • List of plugins this plugin depends on

      Returns PluginKeys

    • Add here the tabs that you want to be placed in the settings widget

      Returns Tab[]

    • Called when the plugin is registered in the viewer.

      Returns void

    • Called when the plugin is unregistred in the viewer.

      Returns void