insertAdjacentText method

void insertAdjacentText(
  1. String where,
  2. String data
)

The insertAdjacentText() method of the Element interface, given a relative position and a string, inserts a new text node at the given position relative to the element it is called from.

Implementation

external void insertAdjacentText(
  String where,
  String data,
);