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