Preparing search index...
The search index is not available
LISN.js
LISN.js
Utils
hasClass
Function hasClass
Returns true if the element's class list contains the given class.
hasClass
(
el
:
Element
,
className
:
string
)
:
boolean
Parameters
el
:
Element
className
:
string
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LISN.js
Loading...
Returns true if the element's class list contains the given class.