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.
This page is generated from the comments in src/dom/dom.js . Please feel free to edit it and submit a pull request!

Referencias Relacionadas