Class AbstractConfigurablePlugin<TConfig, TParsedConfig, TUpdatableConfig, TEvents>Abstract

Base class for plugins with updatable configuration The implementation must have a static configParser property which is the result of utils.getConfigParser

Type Parameters

  • TConfig extends Record<string, any>

    type of input config

  • TParsedConfig extends TConfig = TConfig

    type of config after parsing

  • TUpdatableConfig extends TConfig = TConfig

    type of config that can be updated

  • TEvents extends TypedEvent<AbstractPlugin> = never

    union of dispatched events

Hierarchy

Constructors

Properties

config: TParsedConfig
viewer: Viewer
VERSION: string

Expected version of the core DO NOT USE on custom plugins

configParser: ConfigParser<any, any>
id: string

Unique identifier of the plugin

readonlyOptions: string[] = []

Methods

Generated using TypeDoc