@wordpress/dom
Version:
DOM utilities module for WordPress.
10 lines • 368 B
TypeScript
/**
* Given two DOM nodes, inserts the former in the DOM as the next sibling of
* the latter.
*
* @param {Node} newNode Node to be inserted.
* @param {Node} referenceNode Node after which to perform the insertion.
* @return {void}
*/
export default function insertAfter(newNode: Node, referenceNode: Node): void;
//# sourceMappingURL=insert-after.d.ts.map