Class: Loader

new Loader (psv)

Loader class

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

Check 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 () inherited overrides

Displays or hides the component