@lesjoursfr/browser-tools
Preparing search index...
hasAttribute
Function hasAttribute
hasAttribute
(
node
:
HTMLElement
,
attribute
:
string
)
:
boolean
Check if the node has the given attribute.
Parameters
node
:
HTMLElement
attribute
:
string
Returns
boolean
true or false
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@lesjoursfr/browser-tools
Loading...
Check if the node has the given attribute.