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/p5.Element.js and open a pull request!

Related References