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!
参考
Toggles whether a class is applied to the element.
toggleClass(c)
class name to toggle.