参考 addClass()

addClass()

Adds a class to the element.

示例

语法

addClass(class)

参数

class
String:

name of class to add.

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

相关参考