insertAdjacentElement method

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

The insertAdjacentElement() method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.

Implementation

external Element? insertAdjacentElement(
  String where,
  Element element,
);