Function getName

  • Get the tag name of an element.

    Parameters

    • elem: Element

      The element to get the name for.

    Returns string

    The tag name of elem.