Class: AAssetManagerProcessStatePlugin<T>
Core-API.AAssetManagerProcessStatePlugin
Type parameters
Name | Type |
---|---|
T | extends string = "" |
Hierarchy
↳
AAssetManagerProcessStatePlugin
↳↳
AssetManagerBasicPopupPlugin
Accessors
dirty
• get
dirty(): boolean
Returns
boolean
Inherited from
AViewerPlugin.dirty
• set
dirty(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Inherited from
AViewerPlugin.dirty
viewer
• get
viewer(): undefined
| ViewerApp
Returns
undefined
| ViewerApp
Inherited from
AViewerPlugin.viewer
Methods
onDispose
▸ onDispose(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Inherited from
toJSON
▸ toJSON(meta?
): any
Parameters
Name | Type |
---|---|
meta? | any |
Returns
any
Inherited from
fromJSON
▸ fromJSON(data
, meta?
): null
| AAssetManagerProcessStatePlugin
<T
> | Promise
<null
| AAssetManagerProcessStatePlugin
<T
>>
Parameters
Name | Type |
---|---|
data | any |
meta? | any |
Returns
null
| AAssetManagerProcessStatePlugin
<T
> | Promise
<null
| AAssetManagerProcessStatePlugin
<T
>>
Inherited from
exportState
▸ exportState(): any
Returns
any
Inherited from
importState
▸ importState(state
): Promise
<void
>
Parameters
Name | Type |
---|---|
state | any |
Returns
Promise
<void
>
Inherited from
storeState
▸ storeState(prefix?
, storage?
, data?
): void
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
data? | any |
Returns
void
Inherited from
loadState
▸ loadState(prefix?
, storage?
): Promise
<void
>
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
Returns
Promise
<void
>
Inherited from
onAdded
▸ onAdded(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Overrides
onRemove
▸ onRemove(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Overrides
_storeKey
▸ Protected
_storeKey(prefix?
): string
Parameters
Name | Type |
---|---|
prefix? | string |
Returns
string
Inherited from
_updateMainDiv
▸ Protected
Abstract
_updateMainDiv(processState
): void
Parameters
Name | Type |
---|---|
processState | Map <string , { state : string ; progress? : number }> |
Returns
void
Properties
enabled
• enabled: boolean
= true
Overrides
dependencies
• dependencies: typeof AssetManagerPlugin
[]
container
• Optional
Readonly
container: HTMLElement
processState
• processState: Map
<string
, { state
: string
; progress
: undefined
| number
}>
_dirty
• Protected
_dirty: boolean
= false
Inherited from
_viewer
• Protected
Optional
_viewer: ViewerApp
Inherited from
_mainDiv
• Protected
_mainDiv: HTMLDivElement
_contentDiv
• Protected
_contentDiv: undefined
| HTMLDivElement
Constructors
constructor
• new AAssetManagerProcessStatePlugin<T
>(suffix
, container?
)
Type parameters
Name | Type |
---|---|
T | extends string = "" |
Parameters
Name | Type |
---|---|
suffix | string |
container? | HTMLElement |