@lesjoursfr/browser-tools
Preparing search index...
resetAttributesTo
Function resetAttributesTo
resetAttributesTo
(
node
:
HTMLElement
,
targetAttributes
:
{
[
keyof
:
string
]:
string
}
,
)
:
void
Reset all node's attributes to the given list.
Parameters
node
:
HTMLElement
the node
targetAttributes
:
{
[
keyof
:
string
]:
string
}
the requested node's attributes
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@lesjoursfr/browser-tools
Loading...
Reset all node's attributes to the given list.