Preparing search index...
The search index is not available
@lesjoursfr/browser-tools
@lesjoursfr/browser-tools
addClassToElement
Function addClassToElement
add
Class
To
Element
(
id
,
className
)
:
void
Add the class to the node's class attribute with the given id.
Parameters
id
:
string
className
:
string
|
string
[]
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@lesjoursfr/browser-tools
KeyValueStorageTypes
AbstractKeyValueStore
CookiesKeyValueStore
LocalStorageKeyValueStore
BrowserToolsDataType
BrowserToolsEvent
addClass
addClassToElement
addClassToElements
createFromTemplate
createNodeWith
debounce
escape
getAttribute
getData
getDefaultKeyValueStore
hasAttribute
hasClass
hasTagName
is
isCommentNode
Loading...
Generated using
TypeDoc
Add the class to the node's class attribute with the given id.