DOM manipulation convenience methods
jQuery-like methods on DOM nodes to insert nodes around or within a node, or to replace one node with another. These methods accept any number of DOM nodes or HTML strings as arguments. Includes: `ChildNode.before`, `ChildNode.after`, `ChildNode.replaceWith`, `ParentNode.prepend`, and `ParentNode.append`.
Element.insertAdjacentElement() & Element.insertAdjacentText()
Methods for inserting an element or text before or after a given element, or appending or prepending an element or text to a given element's list of children.
documentfragment api: prepend
document api: prepend
element api: prepend
5 results found.