@endeavorance/palette
System
Light
Dark
Search…
Preparing search index...
Page
Class Page
Constructors
constructor
new
Page
(
overrideWindow
?:
Window
,
overrideDocument
?:
Document
)
:
Page
Parameters
Optional
overrideWindow
:
Window
Optional
overrideDocument
:
Document
Returns
Page
Methods
change
change
(
url
:
string
)
:
void
Parameters
url
:
string
Returns
void
find
find
(
query
:
string
)
:
HTMLElement
|
null
Parameters
query
:
string
Returns
HTMLElement
|
null
Static
create
Element
createElement
<
T
extends
keyof
HTMLElementTagNameMap
>
(
tagName
:
T
,
attrs
?:
AttributeRecord
|
Attributes
,
)
:
HTMLElementTagNameMap
[
T
]
Type Parameters
T
extends
keyof
HTMLElementTagNameMap
Parameters
tagName
:
T
Optional
attrs
:
AttributeRecord
|
Attributes
Returns
HTMLElementTagNameMap
[
T
]
Constructors
constructor
Methods
change
find
create
Element
@endeavorance/palette
Loading...