Reference toggleClass()

toggleClass()

Toggles whether a class is applied to the element.

Examples

Syntax

toggleClass(c)

Parameters

c
String:

class name to toggle.

Notice any errors or typos? Please let us know. Please feel free to edit src/dom/dom.js and open a pull request!

Related References