@stereograph/teiaviewer - v17.8.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

    • Called when the plugin is registered in the viewer.

      Returns void

    • Called when the plugin is unregistred in the viewer.

      Returns void