appendSVGChild takes a string, HTMLElement or SVGElement, Record<string, unknown> and string as its arguments. It either adds the defined SVG element to an existing SVG or SVG Element, or adds an <svg> to a HTML element.
The return value is the generated SVG element.
the type of element to add.
the HTML or SVG element to which to add the element.
Generated using TypeDoc
Gavin Sykes gavin@gavinsykes.uk (https://gavinsykes.uk/) @gavinsykes_uk
MIT