Function getElement

  • return the DOM element for the given element name or HTMLElement object

    Parameters

    • element: string | HTMLElement

      the parent element name or a HTMLElement object

    Returns HTMLElement

    the corresponding DOM Element or null if not existing

    device