• Simple helper to switch between views.

    Parameters

    • toShow: HTMLElement
    • toHide: HTMLElement

    Returns void