Skip to main content

Class: AssetManagerLoadingBarPlugin

Core-API.AssetManagerLoadingBarPlugin

Hierarchy

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

NameType
valueboolean

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

NameType
viewerViewerApp

Returns

Promise<void>

Inherited from

AAssetManagerProcessStatePlugin.onDispose


toJSON

toJSON(meta?): any

Parameters

NameType
meta?any

Returns

any

Inherited from

AAssetManagerProcessStatePlugin.toJSON


fromJSON

fromJSON(data, meta?): null | AssetManagerLoadingBarPlugin | Promise<null | AssetManagerLoadingBarPlugin>

Parameters

NameType
dataany
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

NameType
stateany

Returns

Promise<void>

Inherited from

AAssetManagerProcessStatePlugin.importState


storeState

storeState(prefix?, storage?, data?): void

Parameters

NameType
prefix?string
storage?Storage
data?any

Returns

void

Inherited from

AAssetManagerProcessStatePlugin.storeState


loadState

loadState(prefix?, storage?): Promise<void>

Parameters

NameType
prefix?string
storage?Storage

Returns

Promise<void>

Inherited from

AAssetManagerProcessStatePlugin.loadState


onRemove

onRemove(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Inherited from

AAssetManagerProcessStatePlugin.onRemove


onAdded

onAdded(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Overrides

AAssetManagerProcessStatePlugin.onAdded


_storeKey

Protected _storeKey(prefix?): string

Parameters

NameType
prefix?string

Returns

string

Inherited from

AAssetManagerProcessStatePlugin._storeKey


_updateMainDiv

Protected _updateMainDiv(processState): void

Parameters

NameType
processStateMap<string, { state: string ; progress: undefined | number }>

Returns

void

Overrides

AAssetManagerProcessStatePlugin._updateMainDiv

Constructors

constructor

new AssetManagerLoadingBarPlugin(showText?)

Parameters

NameTypeDefault value
showTextbooleantrue

Overrides

AAssetManagerProcessStatePlugin.constructor