Skip to main content

Class: AssetManagerLoadingBarPlugin

Core-API.AssetManagerLoadingBarPlugin

Hierarchy

Properties

PluginType

Static Readonly PluginType: "AssetManagerLoadingBarPlugin"

Defined in

webgi/src/extras/asset_manager/AssetManagerLoadingBarPlugin.ts:8


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


processState

processState: Map<string, { state: string ; progress: undefined | number }>

Inherited from

AAssetManagerProcessStatePlugin.processState

Defined in

webgi/src/extras/asset_manager/AAssetManagerProcessStatePlugin.ts:45


showText

showText: boolean = true


_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

NameType
valueboolean

Returns

void

Inherited from

AAssetManagerProcessStatePlugin.dirty

Defined in

webgi/src/core/AViewerPlugin.ts:20

Methods

onDispose

onDispose(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Inherited from

AAssetManagerProcessStatePlugin.onDispose

Defined in

webgi/src/core/AViewerPlugin.ts:36


toJSON

toJSON(meta?): any

Parameters

NameType
meta?any

Returns

any

Inherited from

AAssetManagerProcessStatePlugin.toJSON

Defined in

webgi/src/core/AViewerPlugin.ts:45


fromJSON

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

Parameters

NameType
dataany
meta?any

Returns

null | AssetManagerLoadingBarPlugin | Promise<null | AssetManagerLoadingBarPlugin>

Inherited from

AAssetManagerProcessStatePlugin.fromJSON

Defined in

webgi/src/core/AViewerPlugin.ts:52


exportState

exportState(): any

Returns

any

Inherited from

AAssetManagerProcessStatePlugin.exportState

Defined in

webgi/src/core/AViewerPlugin.ts:64


importState

importState(state): Promise<void>

Parameters

NameType
stateany

Returns

Promise<void>

Inherited from

AAssetManagerProcessStatePlugin.importState

Defined in

webgi/src/core/AViewerPlugin.ts:67


storeState

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

Parameters

NameType
prefix?string
storage?Storage
data?any

Returns

void

Inherited from

AAssetManagerProcessStatePlugin.storeState

Defined in

webgi/src/core/AViewerPlugin.ts:74


loadState

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

Parameters

NameType
prefix?string
storage?Storage

Returns

Promise<void>

Inherited from

AAssetManagerProcessStatePlugin.loadState

Defined in

webgi/src/core/AViewerPlugin.ts:84


onRemove

onRemove(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Inherited from

AAssetManagerProcessStatePlugin.onRemove

Defined in

webgi/src/extras/asset_manager/AAssetManagerProcessStatePlugin.ts:132


onAdded

onAdded(viewer): Promise<void>

Parameters

NameType
viewerViewerApp

Returns

Promise<void>

Overrides

AAssetManagerProcessStatePlugin.onAdded

Defined in

webgi/src/extras/asset_manager/AssetManagerLoadingBarPlugin.ts:35


_storeKey

Protected _storeKey(prefix?): string

Parameters

NameType
prefix?string

Returns

string

Inherited from

AAssetManagerProcessStatePlugin._storeKey

Defined in

webgi/src/core/AViewerPlugin.ts:60


_updateMainDiv

Protected _updateMainDiv(processState): void

Parameters

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

Returns

void

Overrides

AAssetManagerProcessStatePlugin._updateMainDiv

Defined in

webgi/src/extras/asset_manager/AssetManagerLoadingBarPlugin.ts:14

Constructors

constructor

new AssetManagerLoadingBarPlugin(showText?)

Parameters

NameTypeDefault value
showTextbooleantrue

Overrides

AAssetManagerProcessStatePlugin.constructor

Defined in

webgi/src/extras/asset_manager/AssetManagerLoadingBarPlugin.ts:10