• Toggles a CSS class

    Parameters

    • element: Element
    • className: string
    • Optionalactive: boolean

    Returns void