HTML API

before

Inserts an element or a documentFragment in the children list of an element's parent, just before the selected element.
Throws an exception when the application cannot find a match for the element. See HTML live edit for further information.

tilepieces.core.htmlMatch.before(element,node);

Parameters

element
A DOM element
node
An element or a documentFragment.

Return Value

None.