menu
  1. Dart
  2. dart:html
  3. Element
  4. insertAdjacentText method
insertAdjacentText

insertAdjacentText method

void insertAdjacentText(
  1. String where,
  2. 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

void insertAdjacentText(String where, String text) {
 if (JS('bool', '!!#.insertAdjacentText', this)) {
 _insertAdjacentText(where, text);
 } else {
 _insertAdjacentNode(where, new Text(text));
 }
}
Element class

AltStyle によって変換されたページ (->オリジナル) /