Reference hasClass()

hasClass()

Checks if a class is already applied to element.

Examples

Syntax

hasClass(c)

Parameters

c

name of class to check.

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