Class pulp.cssQuery
Return an array of HTMLElements matching the given css selector
Defined in: pulp.cssQuery.js.
Constructor
^ top
new pulp.cssQuery(selector [, context=pulp.document] [, data])
- Parameters:
- {String} selector
- A css selector (css 3 supported)
- {HTMLElement} context Optional, Default: pulp.document
- The node from which to start looking
- {Object|Array} data Optional, Default:
- An object on which to set matches instead of a vanilla array
- Returns:
- {Array} List of matched Elements
- Requires:
- base