Class tQuery.Node
base class for tQuery objects
- Defined in: tquery.node.js
Constructor Attributes | Constructor Name and Description |
---|---|
tQuery.Node(object)
implementation of the tQuery.Node
|
Method Summary
Class Detail
tQuery.Node(object)
implementation of the tQuery.Node
- Parameters:
- {Object} object
- an instance or an array of instance
Method Detail
-
back(back)getter/setter of the back pointer
- Parameters:
- {Object} back
- the value to return when .back() is called. optional
-
data(key, value)same as .data() in jquery
- Parameters:
- key
- value
-
{Boolean} each(callback)loop over element
- Parameters:
- {Function} callback
- the function to notify. function(element){ }. loop interrupted if it returns false
- Returns:
- {Boolean} return true if completed, false if interrupted
-
{Boolean} get(callback)Retrieve the elements matched by the tQuery object
- Parameters:
- {Function} callback
- the function to notify. function(element){ }. loop interrupted if it returns false
- Returns:
- {Boolean} return true if completed, false if interrupted
-
removeData(key)same as .data() in jquery
- Parameters:
- key