Class pulp.nodeList
Extends pulp.node.
Return a collection of pulp.node objects to manipulate a set of DOM Elements
Defined in: pulp.nodeList.js.
Constructor
Field Summary
^ top
getInstance
Create a pulp.nodeList object, set it's properties, load results, and return the object
Method Summary
Field Detail
Method Detail
^ top
initialize([selector] [, from=document])
Define the selector and parent element of the nodeList
Parameters:
| {String|Array|pulp.array} | selector?, Default: | A CSS string, Array or pulp.array object |
| {HTMLElement} | from?, Default: document | The parent element of the node list |
include(element)
-> Boolean
Check if a given element matches the internal selector
Parameters:
| {HTMLElement} | element |
Returns:
| {Boolean} |