Preparing search index...
The search index is not available
@lesjoursfr/browser-tools
@lesjoursfr/browser-tools
hasAttribute
Function hasAttribute
has
Attribute
(
node
,
attribute
)
:
boolean
Check if the node has the given attribute.
Parameters
node
:
HTMLElement
attribute
:
string
Returns
boolean
true or false
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
Check if the node has the given attribute.