Kiwi.System.Bootstrap Class
DOM Boot and Ready functions (based on those used by jQuery)
Item Index
Methods
Properties
Methods
_setupContainer
(
private
-
id
Parameters:
-
id
String
boot
(
public
-
domParent
-
[callback=null]
-
[createContainer=true]
Called at the start of the game to check to see if the DOM is ready before we do anything requiring it
Parameters:
-
domParent
String -
[callback=null]
Any optional -
[createContainer=true]
Boolean optional
objType
()
String
public
The type of object that this is.
Returns:
String:
"Bootstrap"
ready
()
public
If the DOM is ready it fires our callback, otherwise sets a short timeout to try again
Properties
_callback
Any
private
_createContainer
Boolean
private
_domParent
String
private
container
HTMLDivElement
public
The parent div in which the layers and input live
input
HTMLDivElement
public
This div sits on-top of all layers and captures user input