Function setElemDisplay

  • Show/hide element by setting the display style to 'none'.

    Parameters

    • elem: string | HTMLElement
    • flag: boolean

    Returns void