@lesjoursfr/browser-tools
Preparing search index...
addClass
Function addClass
addClass
(
node
:
HTMLElement
,
className
:
string
|
string
[]
)
:
HTMLElement
Add the class to the node's class attribute.
Parameters
node
:
HTMLElement
className
:
string
|
string
[]
Returns
HTMLElement
the element
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@lesjoursfr/browser-tools
Loading...
Add the class to the node's class attribute.