lackey-cms/modules/core/client
- lackey-cms/modules/core/client :
object- module.exports ⏏
- ~select(selector, root) ⇒
Array - ~getWithAttribute(attribute, value, root) ⇒
Array
- ~select(selector, root) ⇒
- module.exports ⏏
module.exports ⏏
Lackey
module.exports~select(selector, root) ⇒ Array
Gets HTML nodes by query
Kind: inner method of module.exports
Returns: Array - of HTMLNodes
| Param | Type | Description |
|---|---|---|
| selector | string | HTMLNode | Array |
@see https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll |
| root | HTMLNode |
node to start scan within |
module.exports~getWithAttribute(attribute, value, root) ⇒ Array
Gets list of HTMLNodes containg given attribute
Kind: inner method of module.exports
Returns: Array - of HTMLNodes
| Param | Type | Description |
|---|---|---|
| attribute | string |
name |
| value | string |
of the attribute |
| root | HTMLNode |
node to start scan with |
Generated with gulp-jsdoc-to-markdown and roadmarks. © Enigma Marketing Services 2016