manager
Files
NOTE: This is a private utility class for internal use by the framework. Don't rely on its existence.
Defined By
Methods
add( ui )
Adds a component object created ...
Adds a component object created
Parameters
- ui : Object
UI instance
create( type, selector, options ) : Object
It is possible to create a component dynamically after the ready point ...
It is possible to create a component dynamically after the ready point
Parameters
- type : String
UI type
- selector : String/DOMElement
- options : Object
Returns
- Object
debug( uiObj, i, j, callback )
...
Parameters
- uiObj : Object
UI instance
- i : Number
- j : Number
- callback : Function
debugAll( callback )
debugs all component objects currently existing ...
debugs all component objects currently existing
Parameters
- callback : Function
emit( key, type, args )
Generates a custom event to an applicable component ...
Generates a custom event to an applicable component
Parameters
- key : String
Selector or UI type
- type : String
Event type
- args : Array
Event arguments
get( key ) : Object/Array
Gets a component currently created ...
Gets a component currently created
Parameters
- key : Integer/String
Returns
- Object/Array
UI instance
getAll( ) : Array
Gets all components currently created ...
Gets all components currently created
Returns
- Array
UI instances
getClass( key ) : Object
Gets a component class ...
Gets a component class
Parameters
- key : String/Integer
Returns
- Object
pop( ) : Object
Removes the first component object from the list ...
Removes the first component object from the list
Returns
- Object
Removed instance
remove( index ) : Object
Removes a component object in an applicable index from the list ...
Removes a component object in an applicable index from the list
Parameters
- index : Integer
Returns
- Object
Removed instance
shift( ) : Object
Removes the last component object from the list ...
Removes the last component object from the list
Returns
- Object
Removed instance
size( ) : Number
Gets the number of objects currently created ...
Gets the number of objects currently created
Returns
- Number