Function el

  • Creates a new HTML element.

    Parameters

    • name: string

      Tag name for new HTML element.

    • attributes: object = {}

      Key value pair of attributes to set.

    • child: Node = null

      Child node to add to new HTML element.

    Returns SVGElement

    The new HTML element.

Generated using TypeDoc