Fork me on GitHub

API Documentation


Extends GLGE.GUI.Gadget.
Preloader gadget
Defined in: preloader_gadget.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
addToDOM(element, position)
Add preloader-gadget to DOM.
 
complete(args)
Called when the preloader finished loading
 
fileLoaded(args)
Called when a file has been loaded
 
progress(args)
Called on progress
 
setDocumentLoader(docLoader)
Combine the preloader gadget with an actual preloader
 
Called when the preloader changed it's state
Class Detail
GUI.Preloader()
Method Detail
addToDOM(element, position)
Add preloader-gadget to DOM. Creates the content of the DOM-object (domGadgetObject).
Parameters:
{object} element
Parent element of the gadget
{string|object} position Optional
Gadget position

complete(args)
Called when the preloader finished loading
Parameters:
args

fileLoaded(args)
Called when a file has been loaded
Parameters:
args

progress(args)
Called on progress
Parameters:
args

setDocumentLoader(docLoader)
Combine the preloader gadget with an actual preloader
Parameters:
{GLGE.DocumentPreloader} docLoader
preloader

stateChange(args)
Called when the preloader changed it's state
Parameters:
args

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 12 2012 14:20:23 GMT+0000 (GMT)