Class: AssetManagerBasicPopupPlugin
Core-API.AssetManagerBasicPopupPlugin
Hierarchy
AAssetManagerProcessStatePlugin
↳
AssetManagerBasicPopupPlugin
Properties
PluginType
▪ Static
Readonly
PluginType: "AssetManagerBasicPopupPlugin"
Defined in
webgi/src/extras/asset_manager/AssetManagerPopupPlugin.ts:9
enabled
• enabled: boolean
= true
Inherited from
AAssetManagerProcessStatePlugin.enabled
Defined in
webgi/src/extras/asset_manager/AAssetManagerProcessStatePlugin.ts:14
dependencies
• dependencies: typeof AssetManagerPlugin
[]
Inherited from
AAssetManagerProcessStatePlugin.dependencies
Defined in
webgi/src/extras/asset_manager/AAssetManagerProcessStatePlugin.ts:23
container
• Optional
Readonly
container: HTMLElement
Inherited from
AAssetManagerProcessStatePlugin.container
processState
• processState: Map
<string
, { state
: string
; progress
: undefined
| number
}>
Inherited from
AAssetManagerProcessStatePlugin.processState
Defined in
webgi/src/extras/asset_manager/AAssetManagerProcessStatePlugin.ts:45
_dirty
• Protected
_dirty: boolean
= false
Inherited from
AAssetManagerProcessStatePlugin._dirty
Defined in
webgi/src/core/AViewerPlugin.ts:23
_viewer
• Protected
Optional
_viewer: ViewerApp
Inherited from
AAssetManagerProcessStatePlugin._viewer
Defined in
webgi/src/core/AViewerPlugin.ts:27
_mainDiv
• Protected
_mainDiv: HTMLDivElement
Inherited from
AAssetManagerProcessStatePlugin._mainDiv
Defined in
webgi/src/extras/asset_manager/AAssetManagerProcessStatePlugin.ts:16
_contentDiv
• Protected
_contentDiv: undefined
| HTMLDivElement
Inherited from
AAssetManagerProcessStatePlugin._contentDiv
Defined in
webgi/src/extras/asset_manager/AAssetManagerProcessStatePlugin.ts:17
Accessors
dirty
• get
dirty(): boolean
Returns
boolean
Inherited from
AAssetManagerProcessStatePlugin.dirty
Defined in
webgi/src/core/AViewerPlugin.ts:16
• set
dirty(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Inherited from
AAssetManagerProcessStatePlugin.dirty
Defined in
webgi/src/core/AViewerPlugin.ts:20
viewer
• get
viewer(): undefined
| TViewer
Returns
undefined
| TViewer
Inherited from
AAssetManagerProcessStatePlugin.viewer
Defined in
webgi/src/core/AViewerPlugin.ts:29
Methods
onDispose
▸ onDispose(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Inherited from
AAssetManagerProcessStatePlugin.onDispose
Defined in
webgi/src/core/AViewerPlugin.ts:40
toJSON
▸ toJSON(meta?
): any
Parameters
Name | Type |
---|---|
meta? | any |
Returns
any
Inherited from
AAssetManagerProcessStatePlugin.toJSON
Defined in
webgi/src/core/AViewerPlugin.ts:49
fromJSON
▸ fromJSON(data
, meta?
): null
| AssetManagerBasicPopupPlugin
| Promise
<null
| AssetManagerBasicPopupPlugin
>
Parameters
Name | Type |
---|---|
data | any |
meta? | any |
Returns
null
| AssetManagerBasicPopupPlugin
| Promise
<null
| AssetManagerBasicPopupPlugin
>
Inherited from
AAssetManagerProcessStatePlugin.fromJSON
Defined in
webgi/src/core/AViewerPlugin.ts:56
exportState
▸ exportState(): any
Returns
any
Inherited from
AAssetManagerProcessStatePlugin.exportState
Defined in
webgi/src/core/AViewerPlugin.ts:68
importState
▸ importState(state
): Promise
<void
>
Parameters
Name | Type |
---|---|
state | any |
Returns
Promise
<void
>
Inherited from
AAssetManagerProcessStatePlugin.importState
Defined in
webgi/src/core/AViewerPlugin.ts:71
storeState
▸ storeState(prefix?
, storage?
, data?
): void
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
data? | any |
Returns
void
Inherited from
AAssetManagerProcessStatePlugin.storeState
Defined in
webgi/src/core/AViewerPlugin.ts:78
loadState
▸ loadState(prefix?
, storage?
): Promise
<void
>
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
Returns
Promise
<void
>
Inherited from
AAssetManagerProcessStatePlugin.loadState
Defined in
webgi/src/core/AViewerPlugin.ts:88
onRemove
▸ onRemove(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Inherited from
AAssetManagerProcessStatePlugin.onRemove
Defined in
webgi/src/extras/asset_manager/AAssetManagerProcessStatePlugin.ts:132
onAdded
▸ onAdded(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Overrides
AAssetManagerProcessStatePlugin.onAdded
Defined in
webgi/src/extras/asset_manager/AssetManagerPopupPlugin.ts:42
_storeKey
▸ Protected
_storeKey(prefix?
): string
Parameters
Name | Type |
---|---|
prefix? | string |
Returns
string
Inherited from
AAssetManagerProcessStatePlugin._storeKey
Defined in
webgi/src/core/AViewerPlugin.ts:64
_updateMainDiv
▸ Protected
_updateMainDiv(processState
): void
Parameters
Name | Type |
---|---|
processState | Map <string , { state : string ; progress : undefined | number }> |
Returns
void
Overrides
AAssetManagerProcessStatePlugin._updateMainDiv
Defined in
webgi/src/extras/asset_manager/AssetManagerPopupPlugin.ts:24
Constructors
constructor
• new AssetManagerBasicPopupPlugin()
Overrides
AAssetManagerProcessStatePlugin.constructor
Defined in
webgi/src/extras/asset_manager/AssetManagerPopupPlugin.ts:11