insertAdjacentElement method

  1. @DomName('Element.insertAdjacentElement')
Element insertAdjacentElement (String where, Element element)

Inserts element into the DOM at the specified location.

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

See also:

Implementation

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