Implements simple yet highly customizable preloader. Check out the Verge3D's standard app templates to see it in action.
parameters — object with properties defining the preloader's behavior.
The following is the only valid parameter.
container — an element ID or an element used to store the created preloader.
A <div> element used to display the preloader's bar.
A <div> element used to display the preloader's logo.
A <div> element used for the preloader's logo container.
A <div> element used for the preloader's background.
A container element passed to the constructor.
A clock instance. Used internally.
Simple preloader overrides Preloader methods implementing image animation and cleanup logic.
Check out the following page for instructions on how to customize preloaders with CSS.
For more info on how to obtain the source code of this module see this page.