utils/dom/indexof
module
Functions
indexOf( node ) → numbermodule:utils/dom/indexof~indexOfReturns index of the node in the parent element.
Parameters
node : NodeNode which index is tested.
Returns
numberIndex of the node in the parent element. Returns 0 if node has no parent.