Referencia hasClass()

hasClass()

Checks if a class is already applied to element.

Ejemplos

Sintaxis

hasClass(c)

Parámetros

c
String:

name of class to check.

Returns

Boolean: a boolean value if element has specified class.
Notice any errors or typos? Please let us know. Please feel free to edit src/dom/dom.js and open a pull request!

Referencias Relacionadas