katoikia-app/web-ui/web-react/node_modules/dom-helpers/cjs/prepend.d.ts

8 lines
246 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
/**
* 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;