• [Deprecated] Function used to Toogle a class to a given element

    Export

    Parameters

    • element: HTMLElement
    • state: any
    • className: string

    Returns void