- Description:
Normalisation helpers.
- Source:
- Copyright:
- 2020 Andrew Nicols
- 2020 Andrew Nicols
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Normalisation helpers.
Members
(static, constant) getElement
- Description:
Normalise a single node into an HTMLElement.
- Source:
Normalise a single node into an HTMLElement.
(static, constant) getFirst
- Description:
Return the first element in a list of normalised Nodes.
- Source:
Return the first element in a list of normalised Nodes.
Methods
(inner) getList(nodes) → {Array.<HTMLElement>}
- Description:
Normalise a list of Nodes into an Array of Nodes.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
nodes |
Array | jQuery | NodeList | HTMLElement |
Returns:
- Type
- Array.<HTMLElement>