Skip to content

Interface: ViewerPlugin ​

Defined in: PluginHost.ts:19

Properties ​

id ​

ts
id: string;

Defined in: PluginHost.ts:20

Methods ​

mount() ​

ts
mount(container, api): PluginTeardown;

Defined in: PluginHost.ts:21

Parameters ​

container ​

HTMLElement

api ​

ViewerPluginContext

Returns ​

PluginTeardown


unmount()? ​

ts
optional unmount(): void;

Defined in: PluginHost.ts:22

Returns ​

void

Released under the MIT License.