Reference addClass()

addClass()

Adds a class to the element.

Examples

Syntax

addClass(class)

Parameters

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!

Related References