Class: Loader

new PSV.components.Loader (psv)

Loader component

Name Type Description
psv PSV.Viewer

Extends

Members

children Array.<PSV.components.AbstractComponent> packagereadonly inherited overrides

All child components

container HTMLElement readonly inherited overrides

prop Object protected inherited overrides

Internal properties

Properties:
Name Type Description
thickness number
current string

Reference to main controller

Methods

destroy () protected inherited overrides

Destroys the component

Hides the component

isVisible ()boolean inherited overrides

Checks if the component is visible

Returns:
Type Description
boolean

refreshUi () package inherited overrides

Refresh UI

Must be be a very lightweight operation

setProgress (value)

Sets the loader progression

Name Type Description
value number

from 0 to 100

Displays the component

toggle (visible) inherited overrides

Displays or hides the component

Name Type Description
visible boolean optional

forced state