Preparing search index...
The search index is not available
LISN.js
LISN.js
Utils
toggleClassNow
Function toggleClassNow
Toggles the given class on the element.
toggleClassNow
(
el
:
Element
,
className
:
string
,
force
?:
boolean
)
:
boolean
Parameters
el
:
Element
className
:
string
Optional
force
:
boolean
See
DOMTokenList:toggle
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LISN.js
Loading...
Toggles the given class on the element.