Function: useAppend()
useAppend(
target,child):void
Defined in: src/infrastructure/dom/dom.service.ts:433
Appends a child element to the target parent.
Parameters
target
string | Element
A CSS selector string or an Element instance (the parent).
child
string | Element
A CSS selector string or an Element instance (the child).
Returns
void
Example
const item = useCreateElement("li");
useSetText(item, "New item");
useAppend("ul.list", item);