Interface: IViewerPluginAsync<TViewer>
Core-API.IViewerPluginAsync
Type parameters
Name | Type |
---|---|
TViewer | extends IViewerApp = IViewerApp |
Hierarchy
IViewerPlugin
<TViewer
,false
>↳
IViewerPluginAsync
Properties
dirty
• Optional
dirty: boolean
Inherited from
Defined in
serializeWithViewer
• Optional
serializeWithViewer: boolean
Inherited from
IViewerPlugin.serializeWithViewer
Defined in
dependencies
• Optional
dependencies: Class
<IViewerPlugin
<IViewerApp
, boolean
>>[]
Overrides
Defined in
uiConfig
• Optional
uiConfig: UiObjectConfig
<any
, string
>
Inherited from
Defined in
Methods
storeState
▸ Optional
storeState(prefix?
, storage?
, data?
): void
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
data? | any |
Returns
void
Inherited from
Defined in
loadState
▸ Optional
loadState(prefix?
, storage?
): Promise
<void
>
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
Returns
Promise
<void
>
Inherited from
Defined in
onAdded
▸ onAdded(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | TViewer |
Returns
Promise
<void
>
Overrides
Defined in
onRemove
▸ onRemove(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | TViewer |
Returns
Promise
<void
>
Overrides
Defined in
onDispose
▸ Optional
onDispose(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | TViewer |
Returns
Promise
<void
>