Function replaceClassNow

Replaces the given class on the element with a new one.

v1.2.0

  • Parameters

    • element: Element
    • oldClassName: string
    • newClassName: string

    Returns boolean