Add child after other element
Methods
-
addChildAfter(child, marker)
-
Add child after other element. If marker element is undefined child is appended at end
Parameters:
Name Type Description childHTMLElement child to add markerHTMLElement | undefined marker Returns:
child- Type
- HTMLElement | null