insertAdjacentText method

  1. @DomName('Element.insertAdjacentText')
void insertAdjacentText (String where, String text)

Inserts text into the DOM at the specified location.

To see the possible values for where, read the doc for insertAdjacentHtml.

See also:

Implementation

@DomName('Element.insertAdjacentText')
void insertAdjacentText(String where, String text) {
  throw new UnsupportedError("Cannot invoke insertAdjacentText on SVG.");
}