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

    Export

    Parameters

    • element: HTMLElement
    • state: unknown
    • className: string

    Returns void