We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ad597c commit 09dcb06Copy full SHA for 09dcb06
src/main/scala/org/scalajs/dom/raw/lib.scala
@@ -823,6 +823,15 @@ abstract class Element
823
*/
824
def insertAdjacentHTML(where: String, html: String): Unit = js.native
825
826
+ /**
827
+ * The insertAdjacentElement() method of the Element interface inserts a given
828
+ * element node at a given position relative to the element it is invoked upon.
829
+ *
830
+ * MDN
831
+ */
832
+ def insertAdjacentElement(where: String,
833
+ element: Element): Element = js.native
834
+
835
/**
836
* The `matches()` method of the `Element` interface returns `true` if the
837
* element would be selected by the specified selector string; otherwise, it
0 commit comments