before method

void before(
  1. JSAny nodes
)

The before() method of the CharacterData interface inserts a set of Node objects and strings in the children list of the CharacterData's parent, just before the CharacterData node.

Strings are inserted as Text nodes; the string is being passed as argument to the Text.Text constructor.

Implementation

external void before(JSAny nodes);