Skip to main content

Interface: IViewerPluginSync<TViewer>

Core-API.IViewerPluginSync

Type parameters

NameType
TViewerextends IViewerApp = IViewerApp

Hierarchy

Implemented by

Properties

dirty

Optional dirty: boolean

Inherited from

IViewerPlugin.dirty

Defined in

webgi/src/interfaces.ts:519


serializeWithViewer

Optional serializeWithViewer: boolean

Inherited from

IViewerPlugin.serializeWithViewer

Defined in

webgi/src/interfaces.ts:530


dependencies

Optional dependencies: Class<IViewerPluginSync<IViewerApp>>[]

Overrides

IViewerPlugin.dependencies

Defined in

webgi/src/interfaces.ts:541


uiConfig

Optional uiConfig: UiObjectConfig<any, string>

Inherited from

IViewerPlugin.uiConfig

Defined in

webgi/src/interfaces.ts:594

Methods

storeState

Optional storeState(prefix?, storage?, data?): void

Parameters

NameType
prefix?string
storage?Storage
data?any

Returns

void

Inherited from

IViewerPlugin.storeState

Defined in

webgi/src/interfaces.ts:532


loadState

Optional loadState(prefix?, storage?): Promise<void>

Parameters

NameType
prefix?string
storage?Storage

Returns

Promise<void>

Inherited from

IViewerPlugin.loadState

Defined in

webgi/src/interfaces.ts:533


onAdded

onAdded(viewer): void

Parameters

NameType
viewerTViewer

Returns

void

Overrides

IViewerPlugin.onAdded

Defined in

webgi/src/interfaces.ts:538


onRemove

onRemove(viewer): void

Parameters

NameType
viewerTViewer

Returns

void

Overrides

IViewerPlugin.onRemove

Defined in

webgi/src/interfaces.ts:539


onDispose

Optional onDispose(viewer): void

Parameters

NameType
viewerTViewer

Returns

void

Overrides

IViewerPlugin.onDispose

Defined in

webgi/src/interfaces.ts:540