Enode — API Reference
Preparing search index...
ui/src/inert-background
InertTarget
Type Alias InertTarget
The slice of an Element this module touches — keeps it testable in Node.
type
InertTarget
=
{
getAttribute
(
name
:
string
)
:
string
|
null
;
removeAttribute
(
name
:
string
)
:
void
;
setAttribute
(
name
:
string
,
value
:
string
)
:
void
;
}
Index
Methods
get
Attribute
remove
Attribute
set
Attribute
Methods
get
Attribute
getAttribute
(
name
:
string
)
:
string
|
null
Parameters
name
:
string
Returns
string
|
null
remove
Attribute
removeAttribute
(
name
:
string
)
:
void
Parameters
name
:
string
Returns
void
set
Attribute
setAttribute
(
name
:
string
,
value
:
string
)
:
void
Parameters
name
:
string
value
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
get
Attribute
remove
Attribute
set
Attribute
Enode — API Reference
Loading...
The slice of an Element this module touches — keeps it testable in Node.