레퍼런스 toggleClass()

toggleClass()

Toggles whether a class is applied to the element.

예제

구문

toggleClass(c)

매개변수

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!

관련 레퍼런스