@tempots/dom

DOMContext.createElement property

Creates a new DOM element (eg: HTML or SVG) with the specified tag name and namespace.

Signature:

readonly createElement: (tagName: string, namespace: string | undefined) => Element;