diff options
Diffstat (limited to 'includes/external/addressbook/node_modules/domutils/lib/esm/manipulation.d.ts')
-rw-r--r-- | includes/external/addressbook/node_modules/domutils/lib/esm/manipulation.d.ts | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/includes/external/addressbook/node_modules/domutils/lib/esm/manipulation.d.ts b/includes/external/addressbook/node_modules/domutils/lib/esm/manipulation.d.ts new file mode 100644 index 0000000..89763f1 --- /dev/null +++ b/includes/external/addressbook/node_modules/domutils/lib/esm/manipulation.d.ts @@ -0,0 +1,49 @@ +import type { ChildNode, Element } from "domhandler"; +/** + * Remove an element from the dom + * + * @category Manipulation + * @param elem The element to be removed + */ +export declare function removeElement(elem: ChildNode): void; +/** + * Replace an element in the dom + * + * @category Manipulation + * @param elem The element to be replaced + * @param replacement The element to be added + */ +export declare function replaceElement(elem: ChildNode, replacement: ChildNode): void; +/** + * Append a child to an element. + * + * @category Manipulation + * @param elem The element to append to. + * @param child The element to be added as a child. + */ +export declare function appendChild(elem: Element, child: ChildNode): void; +/** + * Append an element after another. + * + * @category Manipulation + * @param elem The element to append after. + * @param next The element be added. + */ +export declare function append(elem: ChildNode, next: ChildNode): void; +/** + * Prepend a child to an element. + * + * @category Manipulation + * @param elem The element to prepend before. + * @param child The element to be added as a child. + */ +export declare function prependChild(elem: Element, child: ChildNode): void; +/** + * Prepend an element before another. + * + * @category Manipulation + * @param elem The element to prepend before. + * @param prev The element be added. + */ +export declare function prepend(elem: ChildNode, prev: ChildNode): void; +//# sourceMappingURL=manipulation.d.ts.map
\ No newline at end of file |