Function getName

  • getName(elem: Element): string
  • Get the tag name of an element.

    Returns

    The tag name of elem.

    Parameters

    • elem: Element

      The element to get the name for.

    Returns string