core/normalise

Normalisation helpers.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Members

(static, constant) getElement

Source:

Normalise a single node into an HTMLElement.

(static, constant) getFirst

Source:

Return the first element in a list of normalised Nodes.

Methods

(inner) getList(nodes) → {Array.<HTMLElement>}

Source:

Normalise a list of Nodes into an Array of Nodes.

Parameters:
Name Type Description
nodes Array | jQuery | NodeList | HTMLElement
Returns:
Type
Array.<HTMLElement>