prepend method

void prepend(
  1. JSAny nodes
)

The Element.prepend() method inserts a set of Node objects or string objects before the first child of the Element. String objects are inserted as equivalent Text nodes.

Implementation

external void prepend(JSAny nodes);