insertAdjacentHtml method

void insertAdjacentHtml (String where, String text, { NodeValidator validator, NodeTreeSanitizer treeSanitizer })
override

Parses text as an HTML fragment and inserts it into the DOM at the specified location.

The where parameter indicates where to insert the HTML fragment:

See also:

Implementation

void insertAdjacentHtml(String where, String text,
    {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) {
  throw new UnsupportedError("Cannot invoke insertAdjacentHtml on SVG.");
}