Interface: IViewerPluginSync<TViewer>
Core-API.IViewerPluginSync
Type parameters
Name | Type |
---|---|
TViewer | extends IViewerApp = IViewerApp |
Hierarchy
IViewerPlugin
<TViewer
,true
>↳
IViewerPluginSync
Implemented by
Properties
dirty
• Optional
dirty: boolean
Inherited from
Defined in
serializeWithViewer
• Optional
serializeWithViewer: boolean
Inherited from
IViewerPlugin.serializeWithViewer
Defined in
dependencies
• Optional
dependencies: Class
<IViewerPluginSync
<IViewerApp
>>[]
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
): void
Parameters
Name | Type |
---|---|
viewer | TViewer |
Returns
void
Overrides
Defined in
onRemove
▸ onRemove(viewer
): void
Parameters
Name | Type |
---|---|
viewer | TViewer |
Returns
void
Overrides
Defined in
onDispose
▸ Optional
onDispose(viewer
): void
Parameters
Name | Type |
---|---|
viewer | TViewer |
Returns
void