before method

void before(
  1. JSAny nodes
)

The Element.before() method inserts a set of Node or string objects in the children list of this Element's parent, just before this Element. String objects are inserted as equivalent Text nodes.

Implementation

external void before(JSAny nodes);