insertAdjacentElement method

Element insertAdjacentElement (
  1. String where,
  2. Element element
)
override

Inserts element into the DOM at the specified location.

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

See also:

Implementation

Element insertAdjacentElement(String where, Element element) {
  throw new UnsupportedError("Cannot invoke insertAdjacentElement on SVG.");
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-svg/SvgElement/insertAdjacentElement.html