Preparing search index...
The search index is not available
LISN.js
LISN.js
Utils
replaceClassNow
Function replaceClassNow
Replaces the given class on the element with a new one.
Since
v1.2.0
replaceClassNow
(
element
:
Element
,
oldClassName
:
string
,
newClassName
:
string
,
)
:
boolean
Parameters
element
:
Element
oldClassName
:
string
newClassName
:
string
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LISN.js
Loading...
Replaces the given class on the element with a new one.
Since
v1.2.0