Preloader

Base class for preloaders.

Constructor

Preloader()

Methods

.onFinish () : null

A callback which should be called when the preloader is considered to be off.

.onUpdate (percentage) : null

A callback which should be continuously called during the loading process. The percentage parameter varies from 0 to 1.