Files
Checkmate/node_modules/dom-helpers/cjs/prepend.d.ts
T

7 lines
246 B
TypeScript
Raw Normal View History

2024-05-05 11:21:00 +03:30
/**
* Insert a given element as the first child of a parent element.
*
* @param node the element to prepend
* @param parent the parent element
*/
export default function prepend(node: Element | null, parent: Element | null): Element | null;