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