before method

void before(
  1. JSAny nodes
)

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

Implementation

external void before(JSAny nodes);