insertAdjacentText method - Element class - dart:html library (original) (raw)
void insertAdjacentText(
Inserts text into the DOM at the specified location.
To see the possible values for where
, read the doc forinsertAdjacentHtml.
See also:
Implementation
void insertAdjacentText(String where, String text) {
if (JS('bool', '!!#.insertAdjacentText', this)) {
_insertAdjacentText(where, text);
} else {
_insertAdjacentNode(where, new Text(text));
}
}