RelevantLastComponent
Defined in: src/hooks/useLastComponentBeforeTabpanel.ts:9
Extends
Section titled “Extends”HTMLButtonElement
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Section extends SectionId |
Properties
Section titled “Properties”| Property | Modifier | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|
[InitialValue]? |
public |
string |
- | - | HTMLButtonElement.[InitialValue] |
node_modules/@testing-library/user-event/dist/types/document/UI.d.ts:7 |
[PointerEventsCheck]? |
public |
object & object |
- | - | HTMLButtonElement.[PointerEventsCheck] |
node_modules/@testing-library/user-event/dist/types/utils/pointer/cssPointerEvents.d.ts:11 |
[TrackChanges]? |
public |
object |
- | - | HTMLButtonElement.[TrackChanges] |
node_modules/@testing-library/user-event/dist/types/document/trackValue.d.ts:7 |
[TrackChanges].nextValue? |
public |
string |
- | - | - | node_modules/@testing-library/user-event/dist/types/document/trackValue.d.ts:10 |
[TrackChanges].previousValue? |
public |
string |
- | - | - | node_modules/@testing-library/user-event/dist/types/document/trackValue.d.ts:8 |
[TrackChanges].tracked? |
public |
string[] |
- | - | - | node_modules/@testing-library/user-event/dist/types/document/trackValue.d.ts:9 |
[UISelection]? |
public |
UISelection |
- | - | HTMLButtonElement.[UISelection] |
node_modules/@testing-library/user-event/dist/types/document/UI.d.ts:8 |
[UIValue]? |
public |
string |
- | - | HTMLButtonElement.[UIValue] |
node_modules/@testing-library/user-event/dist/types/document/UI.d.ts:6 |
accessKey |
public |
string |
The HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element. MDN Reference |
- | HTMLButtonElement.accessKey |
docs/node_modules/typescript/lib/lib.dom.d.ts:17735 |
accessKeyLabel |
readonly |
string |
The HTMLElement.accessKeyLabel read-only property returns a string containing the element’s browser-assigned access key (if any); otherwise it returns an empty string. MDN Reference |
- | HTMLButtonElement.accessKeyLabel |
docs/node_modules/typescript/lib/lib.dom.d.ts:17741 |
ariaActiveDescendantElement |
public |
Element | null |
MDN Reference | - | HTMLButtonElement.ariaActiveDescendantElement |
docs/node_modules/typescript/lib/lib.dom.d.ts:3242 |
ariaAtomic |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaAtomic |
docs/node_modules/typescript/lib/lib.dom.d.ts:3244 |
ariaAutoComplete |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaAutoComplete |
docs/node_modules/typescript/lib/lib.dom.d.ts:3246 |
ariaBrailleLabel |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaBrailleLabel |
docs/node_modules/typescript/lib/lib.dom.d.ts:3248 |
ariaBrailleRoleDescription |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaBrailleRoleDescription |
docs/node_modules/typescript/lib/lib.dom.d.ts:3250 |
ariaBusy |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaBusy |
docs/node_modules/typescript/lib/lib.dom.d.ts:3252 |
ariaChecked |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaChecked |
docs/node_modules/typescript/lib/lib.dom.d.ts:3254 |
ariaColCount |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaColCount |
docs/node_modules/typescript/lib/lib.dom.d.ts:3256 |
ariaColIndex |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaColIndex |
docs/node_modules/typescript/lib/lib.dom.d.ts:3258 |
ariaColIndexText |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaColIndexText |
docs/node_modules/typescript/lib/lib.dom.d.ts:3260 |
ariaColSpan |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaColSpan |
docs/node_modules/typescript/lib/lib.dom.d.ts:3262 |
ariaControlsElements |
public |
readonly Element[] | null |
MDN Reference | - | HTMLButtonElement.ariaControlsElements |
docs/node_modules/typescript/lib/lib.dom.d.ts:3264 |
ariaCurrent |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaCurrent |
docs/node_modules/typescript/lib/lib.dom.d.ts:3266 |
ariaDescribedByElements |
public |
readonly Element[] | null |
MDN Reference | - | HTMLButtonElement.ariaDescribedByElements |
docs/node_modules/typescript/lib/lib.dom.d.ts:3268 |
ariaDescription |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaDescription |
docs/node_modules/typescript/lib/lib.dom.d.ts:3270 |
ariaDetailsElements |
public |
readonly Element[] | null |
MDN Reference | - | HTMLButtonElement.ariaDetailsElements |
docs/node_modules/typescript/lib/lib.dom.d.ts:3272 |
ariaDisabled |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaDisabled |
docs/node_modules/typescript/lib/lib.dom.d.ts:3274 |
ariaErrorMessageElements |
public |
readonly Element[] | null |
MDN Reference | - | HTMLButtonElement.ariaErrorMessageElements |
docs/node_modules/typescript/lib/lib.dom.d.ts:3276 |
ariaExpanded |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaExpanded |
docs/node_modules/typescript/lib/lib.dom.d.ts:3278 |
ariaFlowToElements |
public |
readonly Element[] | null |
MDN Reference | - | HTMLButtonElement.ariaFlowToElements |
docs/node_modules/typescript/lib/lib.dom.d.ts:3280 |
ariaHasPopup |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaHasPopup |
docs/node_modules/typescript/lib/lib.dom.d.ts:3282 |
ariaHidden |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaHidden |
docs/node_modules/typescript/lib/lib.dom.d.ts:3284 |
ariaInvalid |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaInvalid |
docs/node_modules/typescript/lib/lib.dom.d.ts:3286 |
ariaKeyShortcuts |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaKeyShortcuts |
docs/node_modules/typescript/lib/lib.dom.d.ts:3288 |
ariaLabel |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaLabel |
docs/node_modules/typescript/lib/lib.dom.d.ts:3290 |
ariaLabelledByElements |
public |
readonly Element[] | null |
MDN Reference | - | HTMLButtonElement.ariaLabelledByElements |
docs/node_modules/typescript/lib/lib.dom.d.ts:3292 |
ariaLevel |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaLevel |
docs/node_modules/typescript/lib/lib.dom.d.ts:3294 |
ariaLive |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaLive |
docs/node_modules/typescript/lib/lib.dom.d.ts:3296 |
ariaModal |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaModal |
docs/node_modules/typescript/lib/lib.dom.d.ts:3298 |
ariaMultiLine |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaMultiLine |
docs/node_modules/typescript/lib/lib.dom.d.ts:3300 |
ariaMultiSelectable |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaMultiSelectable |
docs/node_modules/typescript/lib/lib.dom.d.ts:3302 |
ariaOrientation |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaOrientation |
docs/node_modules/typescript/lib/lib.dom.d.ts:3304 |
ariaOwnsElements |
public |
readonly Element[] | null |
MDN Reference | - | HTMLButtonElement.ariaOwnsElements |
docs/node_modules/typescript/lib/lib.dom.d.ts:3306 |
ariaPlaceholder |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaPlaceholder |
docs/node_modules/typescript/lib/lib.dom.d.ts:3308 |
ariaPosInSet |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaPosInSet |
docs/node_modules/typescript/lib/lib.dom.d.ts:3310 |
ariaPressed |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaPressed |
docs/node_modules/typescript/lib/lib.dom.d.ts:3312 |
ariaReadOnly |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaReadOnly |
docs/node_modules/typescript/lib/lib.dom.d.ts:3314 |
ariaRelevant |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaRelevant |
docs/node_modules/typescript/lib/lib.dom.d.ts:3316 |
ariaRequired |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaRequired |
docs/node_modules/typescript/lib/lib.dom.d.ts:3318 |
ariaRoleDescription |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaRoleDescription |
docs/node_modules/typescript/lib/lib.dom.d.ts:3320 |
ariaRowCount |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaRowCount |
docs/node_modules/typescript/lib/lib.dom.d.ts:3322 |
ariaRowIndex |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaRowIndex |
docs/node_modules/typescript/lib/lib.dom.d.ts:3324 |
ariaRowIndexText |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaRowIndexText |
docs/node_modules/typescript/lib/lib.dom.d.ts:3326 |
ariaRowSpan |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaRowSpan |
docs/node_modules/typescript/lib/lib.dom.d.ts:3328 |
ariaSelected |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaSelected |
docs/node_modules/typescript/lib/lib.dom.d.ts:3330 |
ariaSetSize |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaSetSize |
docs/node_modules/typescript/lib/lib.dom.d.ts:3332 |
ariaSort |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaSort |
docs/node_modules/typescript/lib/lib.dom.d.ts:3334 |
ariaValueMax |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaValueMax |
docs/node_modules/typescript/lib/lib.dom.d.ts:3336 |
ariaValueMin |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaValueMin |
docs/node_modules/typescript/lib/lib.dom.d.ts:3338 |
ariaValueNow |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaValueNow |
docs/node_modules/typescript/lib/lib.dom.d.ts:3340 |
ariaValueText |
public |
string | null |
MDN Reference | - | HTMLButtonElement.ariaValueText |
docs/node_modules/typescript/lib/lib.dom.d.ts:3342 |
assignedSlot |
readonly |
HTMLSlotElement | null |
MDN Reference | - | HTMLButtonElement.assignedSlot |
docs/node_modules/typescript/lib/lib.dom.d.ts:35365 |
ATTRIBUTE_NODE |
readonly |
2 |
- | - | HTMLButtonElement.ATTRIBUTE_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26212 |
attributes |
readonly |
NamedNodeMap |
The Element.attributes property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not an Array, so it has no Array methods and the Attr nodes’ indexes may differ among browsers. To be more specific, attributes is a key/value pair of strings that represents any information regarding that attribute. MDN Reference |
- | HTMLButtonElement.attributes |
docs/node_modules/typescript/lib/lib.dom.d.ts:13514 |
attributeStyleMap |
readonly |
StylePropertyMap |
MDN Reference | - | HTMLButtonElement.attributeStyleMap |
docs/node_modules/typescript/lib/lib.dom.d.ts:13928 |
autocapitalize |
public |
string |
The autocapitalize property of the HTMLElement interface represents the element’s capitalization behavior for user input. It is available on all HTML elements, though it doesn’t affect all of them, including: MDN Reference |
- | HTMLButtonElement.autocapitalize |
docs/node_modules/typescript/lib/lib.dom.d.ts:17747 |
autocorrect |
public |
boolean |
The autocorrect property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors. MDN Reference |
- | HTMLButtonElement.autocorrect |
docs/node_modules/typescript/lib/lib.dom.d.ts:17753 |
autofocus |
public |
boolean |
MDN Reference | - | HTMLButtonElement.autofocus |
docs/node_modules/typescript/lib/lib.dom.d.ts:20122 |
baseURI |
readonly |
string |
The read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node. MDN Reference |
- | HTMLButtonElement.baseURI |
docs/node_modules/typescript/lib/lib.dom.d.ts:26041 |
CDATA_SECTION_NODE |
readonly |
4 |
node is a CDATASection node. | - | HTMLButtonElement.CDATA_SECTION_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26216 |
childElementCount |
readonly |
number |
MDN Reference | - | HTMLButtonElement.childElementCount |
docs/node_modules/typescript/lib/lib.dom.d.ts:27044 |
childNodes |
readonly |
NodeListOf<ChildNode> |
The read-only childNodes property of the Node interface returns a live NodeList of child nodes of the given element where the first child node is assigned index 0. Child nodes include elements, text and comments. MDN Reference |
- | HTMLButtonElement.childNodes |
docs/node_modules/typescript/lib/lib.dom.d.ts:26047 |
children |
readonly |
HTMLCollection |
Returns the child elements. MDN Reference | - | HTMLButtonElement.children |
docs/node_modules/typescript/lib/lib.dom.d.ts:27050 |
className |
public |
string |
The className property of the Element interface gets and sets the value of the class attribute of the specified element. MDN Reference |
- | HTMLButtonElement.className |
docs/node_modules/typescript/lib/lib.dom.d.ts:13527 |
clientHeight |
readonly |
number |
The clientHeight read-only property of the Element interface is zero for elements with no CSS or inline layout boxes; otherwise, it’s the inner height of an element in pixels. It includes padding but excludes borders, margins, and horizontal scrollbars (if present). MDN Reference |
- | HTMLButtonElement.clientHeight |
docs/node_modules/typescript/lib/lib.dom.d.ts:13533 |
clientLeft |
readonly |
number |
The clientLeft read-only property of the Element interface returns the width of the left border of an element in pixels. It includes the width of the vertical scrollbar if the text direction of the element is right-to-left and if there is an overflow causing a left vertical scrollbar to be rendered. clientLeft does not include the left margin or the left padding. MDN Reference |
- | HTMLButtonElement.clientLeft |
docs/node_modules/typescript/lib/lib.dom.d.ts:13539 |
clientTop |
readonly |
number |
The clientTop read-only property of the Element interface returns the width of the top border of an element in pixels. MDN Reference |
- | HTMLButtonElement.clientTop |
docs/node_modules/typescript/lib/lib.dom.d.ts:13545 |
clientWidth |
readonly |
number |
The clientWidth read-only property of the Element interface is zero for inline elements and elements with no CSS; otherwise, it’s the inner width of an element in pixels. It includes padding but excludes borders, margins, and vertical scrollbars (if present). MDN Reference |
- | HTMLButtonElement.clientWidth |
docs/node_modules/typescript/lib/lib.dom.d.ts:13551 |
command |
public |
string |
The command property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button. For this to have an effect, commandfor must be set. MDN Reference |
- | HTMLButtonElement.command |
docs/node_modules/typescript/lib/lib.dom.d.ts:17291 |
commandForElement |
public |
Element | null |
The commandForElement property of the HTMLButtonElement interface gets and sets the element to control via a button. MDN Reference |
- | HTMLButtonElement.commandForElement |
docs/node_modules/typescript/lib/lib.dom.d.ts:17297 |
COMMENT_NODE |
readonly |
8 |
node is a Comment node. | - | HTMLButtonElement.COMMENT_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26222 |
contentEditable |
public |
string |
MDN Reference | - | HTMLButtonElement.contentEditable |
docs/node_modules/typescript/lib/lib.dom.d.ts:13936 |
currentCSSZoom |
readonly |
number |
The currentCSSZoom read-only property of the Element interface provides the “effective” CSS zoom of an element, taking into account the zoom applied to the element and all its parent elements. MDN Reference |
- | HTMLButtonElement.currentCSSZoom |
docs/node_modules/typescript/lib/lib.dom.d.ts:13557 |
customElementRegistry |
readonly |
CustomElementRegistry | null |
- | - | HTMLButtonElement.customElementRegistry |
docs/node_modules/typescript/lib/lib.dom.d.ts:13558 |
dataset |
readonly |
DOMStringMap |
MDN Reference | - | HTMLButtonElement.dataset |
docs/node_modules/typescript/lib/lib.dom.d.ts:20124 |
dir |
public |
string |
The HTMLElement.dir property indicates the text writing directionality of the content of the current element. It reflects the element’s dir attribute. MDN Reference |
- | HTMLButtonElement.dir |
docs/node_modules/typescript/lib/lib.dom.d.ts:17759 |
disabled |
public |
boolean |
The HTMLButtonElement.disabled property indicates whether the control is disabled, meaning that it does not accept any clicks. MDN Reference |
- | HTMLButtonElement.disabled |
docs/node_modules/typescript/lib/lib.dom.d.ts:17303 |
DOCUMENT_FRAGMENT_NODE |
readonly |
11 |
node is a DocumentFragment node. | - | HTMLButtonElement.DOCUMENT_FRAGMENT_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26228 |
DOCUMENT_NODE |
readonly |
9 |
node is a document. | - | HTMLButtonElement.DOCUMENT_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26224 |
DOCUMENT_POSITION_CONTAINED_BY |
readonly |
16 |
Set when other is a descendant of node. | - | HTMLButtonElement.DOCUMENT_POSITION_CONTAINED_BY |
docs/node_modules/typescript/lib/lib.dom.d.ts:26239 |
DOCUMENT_POSITION_CONTAINS |
readonly |
8 |
Set when other is an ancestor of node. | - | HTMLButtonElement.DOCUMENT_POSITION_CONTAINS |
docs/node_modules/typescript/lib/lib.dom.d.ts:26237 |
DOCUMENT_POSITION_DISCONNECTED |
readonly |
1 |
Set when node and other are not in the same tree. | - | HTMLButtonElement.DOCUMENT_POSITION_DISCONNECTED |
docs/node_modules/typescript/lib/lib.dom.d.ts:26231 |
DOCUMENT_POSITION_FOLLOWING |
readonly |
4 |
Set when other is following node. | - | HTMLButtonElement.DOCUMENT_POSITION_FOLLOWING |
docs/node_modules/typescript/lib/lib.dom.d.ts:26235 |
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC |
readonly |
32 |
- | - | HTMLButtonElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC |
docs/node_modules/typescript/lib/lib.dom.d.ts:26240 |
DOCUMENT_POSITION_PRECEDING |
readonly |
2 |
Set when other is preceding node. | - | HTMLButtonElement.DOCUMENT_POSITION_PRECEDING |
docs/node_modules/typescript/lib/lib.dom.d.ts:26233 |
DOCUMENT_TYPE_NODE |
readonly |
10 |
node is a doctype. | - | HTMLButtonElement.DOCUMENT_TYPE_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26226 |
draggable |
public |
boolean |
The draggable property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable. MDN Reference |
- | HTMLButtonElement.draggable |
docs/node_modules/typescript/lib/lib.dom.d.ts:17765 |
ELEMENT_NODE |
readonly |
1 |
node is an element. | - | HTMLButtonElement.ELEMENT_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26211 |
enterKeyHint |
public |
string |
MDN Reference | - | HTMLButtonElement.enterKeyHint |
docs/node_modules/typescript/lib/lib.dom.d.ts:13938 |
ENTITY_NODE |
readonly |
6 |
- | - | HTMLButtonElement.ENTITY_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26218 |
ENTITY_REFERENCE_NODE |
readonly |
5 |
- | - | HTMLButtonElement.ENTITY_REFERENCE_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26217 |
firstChild |
readonly |
ChildNode | null |
The read-only firstChild property of the Node interface returns the node’s first child in the tree, or null if the node has no children. MDN Reference |
- | HTMLButtonElement.firstChild |
docs/node_modules/typescript/lib/lib.dom.d.ts:26053 |
firstElementChild |
readonly |
Element | null |
Returns the first child that is an element, and null otherwise. MDN Reference | - | HTMLButtonElement.firstElementChild |
docs/node_modules/typescript/lib/lib.dom.d.ts:27056 |
form |
readonly |
HTMLFormElement | null |
The form read-only property of the HTMLButtonElement interface returns an HTMLFormElement object that owns this |
- | HTMLButtonElement.form |
docs/node_modules/typescript/lib/lib.dom.d.ts:17309 |
formAction |
public |
string |
The formAction property of the HTMLButtonElement interface is the URL of the program that is executed on the server when the form that owns this control is submitted. It reflects the value of the |
- | HTMLButtonElement.formAction |
docs/node_modules/typescript/lib/lib.dom.d.ts:17315 |
formEnctype |
public |
string |
The formEnctype property of the HTMLButtonElement interface is the MIME type of the content sent to the server when the form is submitted. It reflects the value of the |
- | HTMLButtonElement.formEnctype |
docs/node_modules/typescript/lib/lib.dom.d.ts:17321 |
formMethod |
public |
string |
The formMethod property of the HTMLButtonElement interface is the HTTP method used to submit the |
- | HTMLButtonElement.formMethod |
docs/node_modules/typescript/lib/lib.dom.d.ts:17327 |
formNoValidate |
public |
boolean |
The formNoValidate property of the HTMLButtonElement interface is a boolean value indicating if the |
- | HTMLButtonElement.formNoValidate |
docs/node_modules/typescript/lib/lib.dom.d.ts:17333 |
formTarget |
public |
string |
The formTarget property of the HTMLButtonElement interface is the tab, window, or iframe where the response of the submitted |
- | HTMLButtonElement.formTarget |
docs/node_modules/typescript/lib/lib.dom.d.ts:17339 |
hidden |
public |
boolean | "until-found" |
The HTMLElement property hidden reflects the value of the element’s hidden attribute. MDN Reference |
- | HTMLButtonElement.hidden |
docs/node_modules/typescript/lib/lib.dom.d.ts:17771 |
id |
public |
Section | "delete-all" | "fill-all" | "preview" | "toolbar-toggle" |
The id property of the Element interface represents the element’s identifier, reflecting the id global attribute. MDN Reference |
HTMLButtonElement.id |
- | src/hooks/useLastComponentBeforeTabpanel.ts:12 |
inert |
public |
boolean |
The HTMLElement property inert reflects the value of the element’s inert attribute. It is a boolean value that, when present, makes the browser “ignore” user input events for the element, including focus events and events from assistive technologies. The browser may also ignore page search and text selection in the element. This can be useful when building UIs such as modals where you would want to “trap” the focus inside the modal when it’s visible. MDN Reference |
- | HTMLButtonElement.inert |
docs/node_modules/typescript/lib/lib.dom.d.ts:17777 |
innerHTML |
public |
string |
The innerHTML property of the Element interface gets or sets the HTML or XML markup contained within the element, omitting any shadow roots in both cases. MDN Reference |
- | HTMLButtonElement.innerHTML |
docs/node_modules/typescript/lib/lib.dom.d.ts:13570 |
innerText |
public |
string |
The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants. MDN Reference |
- | HTMLButtonElement.innerText |
docs/node_modules/typescript/lib/lib.dom.d.ts:17783 |
inputMode |
public |
string |
MDN Reference | - | HTMLButtonElement.inputMode |
docs/node_modules/typescript/lib/lib.dom.d.ts:13940 |
isConnected |
readonly |
boolean |
The read-only isConnected property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object. MDN Reference |
- | HTMLButtonElement.isConnected |
docs/node_modules/typescript/lib/lib.dom.d.ts:26059 |
isContentEditable |
readonly |
boolean |
MDN Reference | - | HTMLButtonElement.isContentEditable |
docs/node_modules/typescript/lib/lib.dom.d.ts:13942 |
labels |
readonly |
NodeListOf<HTMLLabelElement> |
The HTMLButtonElement.labels read-only property returns a NodeList of the |
- | HTMLButtonElement.labels |
docs/node_modules/typescript/lib/lib.dom.d.ts:17345 |
lang |
public |
string |
The lang property of the HTMLElement interface indicates the base language of an element’s attribute values and text content, in the form of a BCP 47 language tag. It reflects the element’s lang attribute; the xml:lang attribute does not affect this property. MDN Reference |
- | HTMLButtonElement.lang |
docs/node_modules/typescript/lib/lib.dom.d.ts:17789 |
lastChild |
readonly |
ChildNode | null |
The read-only lastChild property of the Node interface returns the last child of the node, or null if there are no child nodes. MDN Reference |
- | HTMLButtonElement.lastChild |
docs/node_modules/typescript/lib/lib.dom.d.ts:26065 |
lastElementChild |
readonly |
Element | null |
Returns the last child that is an element, and null otherwise. MDN Reference | - | HTMLButtonElement.lastElementChild |
docs/node_modules/typescript/lib/lib.dom.d.ts:27062 |
localName |
readonly |
string |
The Element.localName read-only property returns the local part of the qualified name of an element. MDN Reference |
- | HTMLButtonElement.localName |
docs/node_modules/typescript/lib/lib.dom.d.ts:13576 |
name |
public |
string |
The name property of the HTMLButtonElement interface indicates the name of the |
- | HTMLButtonElement.name |
docs/node_modules/typescript/lib/lib.dom.d.ts:17351 |
namespaceURI |
readonly |
string | null |
The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace. MDN Reference |
- | HTMLButtonElement.namespaceURI |
docs/node_modules/typescript/lib/lib.dom.d.ts:13582 |
nextElementSibling |
readonly |
Element | null |
Returns the first following sibling that is an element, and null otherwise. MDN Reference | - | HTMLButtonElement.nextElementSibling |
docs/node_modules/typescript/lib/lib.dom.d.ts:26380 |
nextSibling |
readonly |
ChildNode | null |
The read-only nextSibling property of the Node interface returns the node immediately following the specified one in their parent’s childNodes, or returns null if the specified node is the last child in the parent element. MDN Reference |
- | HTMLButtonElement.nextSibling |
docs/node_modules/typescript/lib/lib.dom.d.ts:26071 |
nodeName |
readonly |
string |
The read-only nodeName property of Node returns the name of the current node as a string. MDN Reference |
- | HTMLButtonElement.nodeName |
docs/node_modules/typescript/lib/lib.dom.d.ts:26077 |
nodeType |
readonly |
number |
The read-only nodeType property of a Node interface is an integer that identifies what the node is. It distinguishes different kinds of nodes from each other, such as elements, text, and comments. MDN Reference |
- | HTMLButtonElement.nodeType |
docs/node_modules/typescript/lib/lib.dom.d.ts:26083 |
nodeValue |
public |
string | null |
The nodeValue property of the Node interface returns or sets the value of the current node. MDN Reference |
- | HTMLButtonElement.nodeValue |
docs/node_modules/typescript/lib/lib.dom.d.ts:26089 |
nonce |
public |
string |
MDN Reference | - | HTMLButtonElement.nonce |
docs/node_modules/typescript/lib/lib.dom.d.ts:20126 |
NOTATION_NODE |
readonly |
12 |
- | - | HTMLButtonElement.NOTATION_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26229 |
offsetHeight |
readonly |
number |
The offsetHeight read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an integer. MDN Reference |
- | HTMLButtonElement.offsetHeight |
docs/node_modules/typescript/lib/lib.dom.d.ts:17795 |
offsetLeft |
readonly |
number |
The offsetLeft read-only property of the HTMLElement interface returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent node. MDN Reference |
- | HTMLButtonElement.offsetLeft |
docs/node_modules/typescript/lib/lib.dom.d.ts:17801 |
offsetParent |
readonly |
Element | null |
The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element. MDN Reference |
- | HTMLButtonElement.offsetParent |
docs/node_modules/typescript/lib/lib.dom.d.ts:17807 |
offsetTop |
readonly |
number |
The offsetTop read-only property of the HTMLElement interface returns the distance from the outer border of the current element (including its margin) to the top padding edge of the offsetParent, the closest positioned ancestor element. MDN Reference |
- | HTMLButtonElement.offsetTop |
docs/node_modules/typescript/lib/lib.dom.d.ts:17813 |
offsetWidth |
readonly |
number |
The offsetWidth read-only property of the HTMLElement interface returns the layout width of an element as an integer. MDN Reference |
- | HTMLButtonElement.offsetWidth |
docs/node_modules/typescript/lib/lib.dom.d.ts:17819 |
onabort |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onabort |
docs/node_modules/typescript/lib/lib.dom.d.ts:16764 |
onanimationcancel |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onanimationcancel |
docs/node_modules/typescript/lib/lib.dom.d.ts:16766 |
onanimationend |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onanimationend |
docs/node_modules/typescript/lib/lib.dom.d.ts:16768 |
onanimationiteration |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onanimationiteration |
docs/node_modules/typescript/lib/lib.dom.d.ts:16770 |
onanimationstart |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onanimationstart |
docs/node_modules/typescript/lib/lib.dom.d.ts:16772 |
onauxclick |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onauxclick |
docs/node_modules/typescript/lib/lib.dom.d.ts:16774 |
onbeforeinput |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onbeforeinput |
docs/node_modules/typescript/lib/lib.dom.d.ts:16776 |
onbeforematch |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onbeforematch |
docs/node_modules/typescript/lib/lib.dom.d.ts:16778 |
onbeforetoggle |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onbeforetoggle |
docs/node_modules/typescript/lib/lib.dom.d.ts:16780 |
onblur |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onblur |
docs/node_modules/typescript/lib/lib.dom.d.ts:16782 |
oncancel |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oncancel |
docs/node_modules/typescript/lib/lib.dom.d.ts:16784 |
oncanplay |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oncanplay |
docs/node_modules/typescript/lib/lib.dom.d.ts:16786 |
oncanplaythrough |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oncanplaythrough |
docs/node_modules/typescript/lib/lib.dom.d.ts:16788 |
onchange |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onchange |
docs/node_modules/typescript/lib/lib.dom.d.ts:16790 |
onclick |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onclick |
docs/node_modules/typescript/lib/lib.dom.d.ts:16792 |
onclose |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onclose |
docs/node_modules/typescript/lib/lib.dom.d.ts:16794 |
oncommand |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oncommand |
docs/node_modules/typescript/lib/lib.dom.d.ts:16796 |
oncontextlost |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oncontextlost |
docs/node_modules/typescript/lib/lib.dom.d.ts:16798 |
oncontextmenu |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oncontextmenu |
docs/node_modules/typescript/lib/lib.dom.d.ts:16800 |
oncontextrestored |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oncontextrestored |
docs/node_modules/typescript/lib/lib.dom.d.ts:16802 |
oncopy |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oncopy |
docs/node_modules/typescript/lib/lib.dom.d.ts:16804 |
oncuechange |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oncuechange |
docs/node_modules/typescript/lib/lib.dom.d.ts:16806 |
oncut |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oncut |
docs/node_modules/typescript/lib/lib.dom.d.ts:16808 |
ondblclick |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ondblclick |
docs/node_modules/typescript/lib/lib.dom.d.ts:16810 |
ondrag |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ondrag |
docs/node_modules/typescript/lib/lib.dom.d.ts:16812 |
ondragend |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ondragend |
docs/node_modules/typescript/lib/lib.dom.d.ts:16814 |
ondragenter |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ondragenter |
docs/node_modules/typescript/lib/lib.dom.d.ts:16816 |
ondragleave |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ondragleave |
docs/node_modules/typescript/lib/lib.dom.d.ts:16818 |
ondragover |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ondragover |
docs/node_modules/typescript/lib/lib.dom.d.ts:16820 |
ondragstart |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ondragstart |
docs/node_modules/typescript/lib/lib.dom.d.ts:16822 |
ondrop |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ondrop |
docs/node_modules/typescript/lib/lib.dom.d.ts:16824 |
ondurationchange |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ondurationchange |
docs/node_modules/typescript/lib/lib.dom.d.ts:16826 |
onemptied |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onemptied |
docs/node_modules/typescript/lib/lib.dom.d.ts:16828 |
onended |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onended |
docs/node_modules/typescript/lib/lib.dom.d.ts:16830 |
onerror |
public |
OnErrorEventHandler |
MDN Reference | - | HTMLButtonElement.onerror |
docs/node_modules/typescript/lib/lib.dom.d.ts:16832 |
onfocus |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onfocus |
docs/node_modules/typescript/lib/lib.dom.d.ts:16834 |
onformdata |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onformdata |
docs/node_modules/typescript/lib/lib.dom.d.ts:16836 |
onfullscreenchange |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onfullscreenchange |
docs/node_modules/typescript/lib/lib.dom.d.ts:13584 |
onfullscreenerror |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onfullscreenerror |
docs/node_modules/typescript/lib/lib.dom.d.ts:13586 |
ongotpointercapture |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ongotpointercapture |
docs/node_modules/typescript/lib/lib.dom.d.ts:16838 |
oninput |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oninput |
docs/node_modules/typescript/lib/lib.dom.d.ts:16840 |
oninvalid |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.oninvalid |
docs/node_modules/typescript/lib/lib.dom.d.ts:16842 |
onkeydown |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onkeydown |
docs/node_modules/typescript/lib/lib.dom.d.ts:16844 |
onkeypress |
public |
((this, ev) => any) | null |
:::caution[Deprecated] MDN Reference ::: | - | HTMLButtonElement.onkeypress |
docs/node_modules/typescript/lib/lib.dom.d.ts:16850 |
onkeyup |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onkeyup |
docs/node_modules/typescript/lib/lib.dom.d.ts:16852 |
onload |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onload |
docs/node_modules/typescript/lib/lib.dom.d.ts:16854 |
onloadeddata |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onloadeddata |
docs/node_modules/typescript/lib/lib.dom.d.ts:16856 |
onloadedmetadata |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onloadedmetadata |
docs/node_modules/typescript/lib/lib.dom.d.ts:16858 |
onloadstart |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onloadstart |
docs/node_modules/typescript/lib/lib.dom.d.ts:16860 |
onlostpointercapture |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onlostpointercapture |
docs/node_modules/typescript/lib/lib.dom.d.ts:16862 |
onmousedown |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onmousedown |
docs/node_modules/typescript/lib/lib.dom.d.ts:16864 |
onmouseenter |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onmouseenter |
docs/node_modules/typescript/lib/lib.dom.d.ts:16866 |
onmouseleave |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onmouseleave |
docs/node_modules/typescript/lib/lib.dom.d.ts:16868 |
onmousemove |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onmousemove |
docs/node_modules/typescript/lib/lib.dom.d.ts:16870 |
onmouseout |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onmouseout |
docs/node_modules/typescript/lib/lib.dom.d.ts:16872 |
onmouseover |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onmouseover |
docs/node_modules/typescript/lib/lib.dom.d.ts:16874 |
onmouseup |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onmouseup |
docs/node_modules/typescript/lib/lib.dom.d.ts:16876 |
onpaste |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onpaste |
docs/node_modules/typescript/lib/lib.dom.d.ts:16878 |
onpause |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onpause |
docs/node_modules/typescript/lib/lib.dom.d.ts:16880 |
onplay |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onplay |
docs/node_modules/typescript/lib/lib.dom.d.ts:16882 |
onplaying |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onplaying |
docs/node_modules/typescript/lib/lib.dom.d.ts:16884 |
onpointercancel |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onpointercancel |
docs/node_modules/typescript/lib/lib.dom.d.ts:16886 |
onpointerdown |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onpointerdown |
docs/node_modules/typescript/lib/lib.dom.d.ts:16888 |
onpointerenter |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onpointerenter |
docs/node_modules/typescript/lib/lib.dom.d.ts:16890 |
onpointerleave |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onpointerleave |
docs/node_modules/typescript/lib/lib.dom.d.ts:16892 |
onpointermove |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onpointermove |
docs/node_modules/typescript/lib/lib.dom.d.ts:16894 |
onpointerout |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onpointerout |
docs/node_modules/typescript/lib/lib.dom.d.ts:16896 |
onpointerover |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onpointerover |
docs/node_modules/typescript/lib/lib.dom.d.ts:16898 |
onpointerrawupdate |
public |
((this, ev) => any) | null |
Available only in secure contexts. MDN Reference | - | HTMLButtonElement.onpointerrawupdate |
docs/node_modules/typescript/lib/lib.dom.d.ts:16904 |
onpointerup |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onpointerup |
docs/node_modules/typescript/lib/lib.dom.d.ts:16906 |
onprogress |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onprogress |
docs/node_modules/typescript/lib/lib.dom.d.ts:16908 |
onratechange |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onratechange |
docs/node_modules/typescript/lib/lib.dom.d.ts:16910 |
onreset |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onreset |
docs/node_modules/typescript/lib/lib.dom.d.ts:16912 |
onresize |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onresize |
docs/node_modules/typescript/lib/lib.dom.d.ts:16914 |
onscroll |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onscroll |
docs/node_modules/typescript/lib/lib.dom.d.ts:16916 |
onscrollend |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onscrollend |
docs/node_modules/typescript/lib/lib.dom.d.ts:16918 |
onsecuritypolicyviolation |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onsecuritypolicyviolation |
docs/node_modules/typescript/lib/lib.dom.d.ts:16920 |
onseeked |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onseeked |
docs/node_modules/typescript/lib/lib.dom.d.ts:16922 |
onseeking |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onseeking |
docs/node_modules/typescript/lib/lib.dom.d.ts:16924 |
onselect |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onselect |
docs/node_modules/typescript/lib/lib.dom.d.ts:16926 |
onselectionchange |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onselectionchange |
docs/node_modules/typescript/lib/lib.dom.d.ts:16928 |
onselectstart |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onselectstart |
docs/node_modules/typescript/lib/lib.dom.d.ts:16930 |
onslotchange |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onslotchange |
docs/node_modules/typescript/lib/lib.dom.d.ts:16932 |
onstalled |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onstalled |
docs/node_modules/typescript/lib/lib.dom.d.ts:16934 |
onsubmit |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onsubmit |
docs/node_modules/typescript/lib/lib.dom.d.ts:16936 |
onsuspend |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onsuspend |
docs/node_modules/typescript/lib/lib.dom.d.ts:16938 |
ontimeupdate |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ontimeupdate |
docs/node_modules/typescript/lib/lib.dom.d.ts:16940 |
ontoggle |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ontoggle |
docs/node_modules/typescript/lib/lib.dom.d.ts:16942 |
ontouchcancel? |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ontouchcancel |
docs/node_modules/typescript/lib/lib.dom.d.ts:16944 |
ontouchend? |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ontouchend |
docs/node_modules/typescript/lib/lib.dom.d.ts:16946 |
ontouchmove? |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ontouchmove |
docs/node_modules/typescript/lib/lib.dom.d.ts:16948 |
ontouchstart? |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ontouchstart |
docs/node_modules/typescript/lib/lib.dom.d.ts:16950 |
ontransitioncancel |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ontransitioncancel |
docs/node_modules/typescript/lib/lib.dom.d.ts:16952 |
ontransitionend |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ontransitionend |
docs/node_modules/typescript/lib/lib.dom.d.ts:16954 |
ontransitionrun |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ontransitionrun |
docs/node_modules/typescript/lib/lib.dom.d.ts:16956 |
ontransitionstart |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.ontransitionstart |
docs/node_modules/typescript/lib/lib.dom.d.ts:16958 |
onvolumechange |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onvolumechange |
docs/node_modules/typescript/lib/lib.dom.d.ts:16960 |
onwaiting |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onwaiting |
docs/node_modules/typescript/lib/lib.dom.d.ts:16962 |
onwebkitanimationend |
public |
((this, ev) => any) | null |
:::caution[Deprecated] This is a legacy alias of onanimationend. MDN Reference ::: |
- | HTMLButtonElement.onwebkitanimationend |
docs/node_modules/typescript/lib/lib.dom.d.ts:16968 |
onwebkitanimationiteration |
public |
((this, ev) => any) | null |
:::caution[Deprecated] This is a legacy alias of onanimationiteration. MDN Reference ::: |
- | HTMLButtonElement.onwebkitanimationiteration |
docs/node_modules/typescript/lib/lib.dom.d.ts:16974 |
onwebkitanimationstart |
public |
((this, ev) => any) | null |
:::caution[Deprecated] This is a legacy alias of onanimationstart. MDN Reference ::: |
- | HTMLButtonElement.onwebkitanimationstart |
docs/node_modules/typescript/lib/lib.dom.d.ts:16980 |
onwebkittransitionend |
public |
((this, ev) => any) | null |
:::caution[Deprecated] This is a legacy alias of ontransitionend. MDN Reference ::: |
- | HTMLButtonElement.onwebkittransitionend |
docs/node_modules/typescript/lib/lib.dom.d.ts:16986 |
onwheel |
public |
((this, ev) => any) | null |
MDN Reference | - | HTMLButtonElement.onwheel |
docs/node_modules/typescript/lib/lib.dom.d.ts:16988 |
outerHTML |
public |
string |
The outerHTML attribute of the Element interface gets or sets the HTML or XML markup of the element and its descendants, omitting any shadow roots in both cases. MDN Reference |
- | HTMLButtonElement.outerHTML |
docs/node_modules/typescript/lib/lib.dom.d.ts:13592 |
outerText |
public |
string |
The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText. When used as a setter it replaces the whole current node with the given text (this differs from innerText, which replaces the content inside the current node). MDN Reference |
- | HTMLButtonElement.outerText |
docs/node_modules/typescript/lib/lib.dom.d.ts:17825 |
ownerDocument |
readonly |
Document |
The read-only ownerDocument property of the Node interface returns the top-level document object of the node. MDN Reference |
- | HTMLButtonElement.ownerDocument |
docs/node_modules/typescript/lib/lib.dom.d.ts:13593 |
parentElement |
readonly |
HTMLElement | null |
The read-only parentElement property of Node interface returns the DOM node’s parent Element, or null if the node either has no parent, or its parent isn’t a DOM Element. Node.parentNode on the other hand returns any kind of parent, regardless of its type. MDN Reference |
- | HTMLButtonElement.parentElement |
docs/node_modules/typescript/lib/lib.dom.d.ts:26101 |
parentNode |
readonly |
ParentNode | null |
The read-only parentNode property of the Node interface returns the parent of the specified node in the DOM tree. MDN Reference |
- | HTMLButtonElement.parentNode |
docs/node_modules/typescript/lib/lib.dom.d.ts:26107 |
popover |
public |
string | null |
The popover property of the HTMLElement interface gets and sets an element’s popover state via JavaScript (“auto”, “hint”, or “manual”), and can be used for feature detection. MDN Reference |
- | HTMLButtonElement.popover |
docs/node_modules/typescript/lib/lib.dom.d.ts:17831 |
popoverTargetAction |
public |
string |
MDN Reference | - | HTMLButtonElement.popoverTargetAction |
docs/node_modules/typescript/lib/lib.dom.d.ts:28549 |
popoverTargetElement |
public |
Element | null |
MDN Reference | - | HTMLButtonElement.popoverTargetElement |
docs/node_modules/typescript/lib/lib.dom.d.ts:28551 |
prefix |
readonly |
string | null |
The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified. MDN Reference |
- | HTMLButtonElement.prefix |
docs/node_modules/typescript/lib/lib.dom.d.ts:13606 |
previousElementSibling |
readonly |
Element | null |
Returns the first preceding sibling that is an element, and null otherwise. MDN Reference | - | HTMLButtonElement.previousElementSibling |
docs/node_modules/typescript/lib/lib.dom.d.ts:26386 |
previousSibling |
readonly |
ChildNode | null |
The read-only previousSibling property of the Node interface returns the node immediately preceding the specified one in its parent’s childNodes list, or null if the specified node is the first in that list. MDN Reference |
- | HTMLButtonElement.previousSibling |
docs/node_modules/typescript/lib/lib.dom.d.ts:26113 |
PROCESSING_INSTRUCTION_NODE |
readonly |
7 |
node is a ProcessingInstruction node. | - | HTMLButtonElement.PROCESSING_INSTRUCTION_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26220 |
role |
public |
string | null |
MDN Reference | - | HTMLButtonElement.role |
docs/node_modules/typescript/lib/lib.dom.d.ts:3344 |
scrollHeight |
readonly |
number |
The scrollHeight read-only property of the Element interface is a measurement of the height of an element’s content, including content not visible on the screen due to overflow. MDN Reference |
- | HTMLButtonElement.scrollHeight |
docs/node_modules/typescript/lib/lib.dom.d.ts:13612 |
scrollLeft |
public |
number |
The scrollLeft property of the Element interface gets or sets the number of pixels by which an element’s content is scrolled from its left edge. This value is subpixel precise in modern browsers, meaning that it isn’t necessarily a whole number. MDN Reference |
- | HTMLButtonElement.scrollLeft |
docs/node_modules/typescript/lib/lib.dom.d.ts:13618 |
scrollTop |
public |
number |
The scrollTop property of the Element interface gets or sets the number of pixels by which an element’s content is scrolled from its top edge. This value is subpixel precise in modern browsers, meaning that it isn’t necessarily a whole number. MDN Reference |
- | HTMLButtonElement.scrollTop |
docs/node_modules/typescript/lib/lib.dom.d.ts:13624 |
scrollWidth |
readonly |
number |
The scrollWidth read-only property of the Element interface is a measurement of the width of an element’s content, including content not visible on the screen due to overflow. MDN Reference |
- | HTMLButtonElement.scrollWidth |
docs/node_modules/typescript/lib/lib.dom.d.ts:13630 |
shadowRoot |
readonly |
ShadowRoot | null |
The Element.shadowRoot read-only property represents the shadow root hosted by the element. MDN Reference |
- | HTMLButtonElement.shadowRoot |
docs/node_modules/typescript/lib/lib.dom.d.ts:13636 |
slot |
public |
string |
The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in. MDN Reference |
- | HTMLButtonElement.slot |
docs/node_modules/typescript/lib/lib.dom.d.ts:13642 |
spellcheck |
public |
boolean |
The spellcheck property of the HTMLElement interface represents a boolean value that controls the spell-checking hint. It is available on all HTML elements, though it doesn’t affect all of them. MDN Reference |
- | HTMLButtonElement.spellcheck |
docs/node_modules/typescript/lib/lib.dom.d.ts:17837 |
tabIndex |
public |
number |
MDN Reference | - | HTMLButtonElement.tabIndex |
docs/node_modules/typescript/lib/lib.dom.d.ts:20128 |
tagName |
readonly |
string |
The tagName read-only property of the Element interface returns the tag name of the element on which it’s called. MDN Reference |
- | HTMLButtonElement.tagName |
docs/node_modules/typescript/lib/lib.dom.d.ts:13648 |
TEXT_NODE |
readonly |
3 |
node is a Text node. | - | HTMLButtonElement.TEXT_NODE |
docs/node_modules/typescript/lib/lib.dom.d.ts:26214 |
title |
public |
string |
The HTMLElement.title property represents the title of the element: the text usually displayed in a ‘tooltip’ popup when the mouse is over the node. MDN Reference |
- | HTMLButtonElement.title |
docs/node_modules/typescript/lib/lib.dom.d.ts:17843 |
translate |
public |
boolean |
The translate property of the HTMLElement interface indicates whether an element’s attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged. MDN Reference |
- | HTMLButtonElement.translate |
docs/node_modules/typescript/lib/lib.dom.d.ts:17849 |
type |
public |
"button" | "reset" | "submit" |
The type property of the HTMLButtonElement interface is a string that indicates the behavior type of the |
- | HTMLButtonElement.type |
docs/node_modules/typescript/lib/lib.dom.d.ts:17357 |
validationMessage |
readonly |
string |
The validationMessage read-only property of the HTMLButtonElement interface returns a string representing a localized message that describes the validation constraints that the |
- | HTMLButtonElement.validationMessage |
docs/node_modules/typescript/lib/lib.dom.d.ts:17363 |
validity |
readonly |
ValidityState |
The validity read-only property of the HTMLButtonElement interface returns a ValidityState object that represents the validity states this element is in. MDN Reference |
- | HTMLButtonElement.validity |
docs/node_modules/typescript/lib/lib.dom.d.ts:17369 |
value |
public |
string |
The value property of the HTMLButtonElement interface represents the value of the |
- | HTMLButtonElement.value |
docs/node_modules/typescript/lib/lib.dom.d.ts:17375 |
willValidate |
readonly |
boolean |
The willValidate read-only property of the HTMLButtonElement interface indicates whether the |
- | HTMLButtonElement.willValidate |
docs/node_modules/typescript/lib/lib.dom.d.ts:17381 |
writingSuggestions |
public |
string |
The writingSuggestions property of the HTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the scope of the element or not. MDN Reference |
- | HTMLButtonElement.writingSuggestions |
docs/node_modules/typescript/lib/lib.dom.d.ts:17855 |
Accessors
Section titled “Accessors”classList
Section titled “classList”Get Signature
Section titled “Get Signature”get classList():
DOMTokenList
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13520
The read-only classList property of the Element interface contains a live DOMTokenList collection representing the class attribute of the element. This can then be used to manipulate the class list.
Returns
Section titled “Returns”DOMTokenList
Set Signature
Section titled “Set Signature”set classList(
value):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13521
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.classList
Get Signature
Section titled “Get Signature”get part():
DOMTokenList
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13599
The read-only part property of the Element interface contains a DOMTokenList object representing the part identifier(s) of the element. It reflects the element’s part content attribute. These can be used to style parts of a shadow DOM, via the ::part pseudo-element.
Returns
Section titled “Returns”DOMTokenList
Set Signature
Section titled “Set Signature”set part(
value):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13600
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.part
Get Signature
Section titled “Get Signature”get style():
CSSStyleDeclaration
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13930
Returns
Section titled “Returns”CSSStyleDeclaration
Set Signature
Section titled “Set Signature”set style(
cssText):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13931
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
cssText |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.style
textContent
Section titled “textContent”Get Signature
Section titled “Get Signature”get textContent():
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13913
Returns
Section titled “Returns”string
Set Signature
Section titled “Set Signature”set textContent(
value):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13914
The textContent property of the Node interface represents the text content of the node and its descendants.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value |
string | null |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.textContent
Methods
Section titled “Methods”addEventListener()
Section titled “addEventListener()”Call Signature
Section titled “Call Signature”addEventListener<
K>(type,listener,options?):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17400
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof HTMLElementEventMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type |
K |
listener |
(this, ev) => any |
options? |
boolean | AddEventListenerOptions |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.addEventListener
Call Signature
Section titled “Call Signature”addEventListener(
type,listener,options?):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17401
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type |
string |
listener |
EventListenerOrEventListenerObject |
options? |
boolean | AddEventListenerOptions |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.addEventListener
after()
Section titled “after()”after(…
nodes):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10657
Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.
Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…nodes |
(string | Node)[] |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.after
animate()
Section titled “animate()”animate(
keyframes,options?):Animation
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:3556
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
keyframes |
Keyframe[] | PropertyIndexedKeyframes | null |
options? |
number | KeyframeAnimationOptions |
Returns
Section titled “Returns”Animation
Inherited from
Section titled “Inherited from”HTMLButtonElement.animate
append()
Section titled “append()”append(…
nodes):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27070
Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.
Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…nodes |
(string | Node)[] |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.append
appendChild()
Section titled “appendChild()”appendChild<
T>(node):T
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26125
The appendChild() method of the Node interface adds a node to the end of the list of children of a specified parent node.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T extends Node |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
node |
T |
Returns
Section titled “Returns”T
Inherited from
Section titled “Inherited from”HTMLButtonElement.appendChild
attachInternals()
Section titled “attachInternals()”attachInternals():
ElementInternals
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17861
The HTMLElement.attachInternals() method returns an ElementInternals object. This method allows a custom element to participate in HTML forms. The ElementInternals interface provides utilities for working with these elements in the same way you would work with any standard HTML form element, and also exposes the Accessibility Object Model to the element.
Returns
Section titled “Returns”ElementInternals
Inherited from
Section titled “Inherited from”HTMLButtonElement.attachInternals
attachShadow()
Section titled “attachShadow()”attachShadow(
init):ShadowRoot
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13654
The Element.attachShadow() method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
init |
ShadowRootInit |
Returns
Section titled “Returns”ShadowRoot
Inherited from
Section titled “Inherited from”HTMLButtonElement.attachShadow
before()
Section titled “before()”before(…
nodes):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10665
Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…nodes |
(string | Node)[] |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.before
blur()
Section titled “blur()”blur():
void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:20130
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.blur
checkValidity()
Section titled “checkValidity()”checkValidity():
boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17387
The checkValidity() method of the HTMLButtonElement interface returns a boolean value which indicates if the element meets any constraint validation rules applied to it. If false, the method also fires an invalid event on the element. Because there’s no default browser behavior for checkValidity(), canceling this invalid event has no effect. It always returns true if the
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.checkValidity
checkVisibility()
Section titled “checkVisibility()”checkVisibility(
options?):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13660
The checkVisibility() method of the Element interface checks whether the element is visible.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
CheckVisibilityOptions |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.checkVisibility
click()
Section titled “click()”click():
void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17867
The HTMLElement.click() method simulates a mouse click on an element. When called on an element, the element’s click event is fired (unless its disabled attribute is set).
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.click
cloneNode()
Section titled “cloneNode()”cloneNode(
subtree?):Node
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26131
The cloneNode() method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in the node is also cloned or not.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
subtree? |
boolean |
Returns
Section titled “Returns”Node
Inherited from
Section titled “Inherited from”HTMLButtonElement.cloneNode
closest()
Section titled “closest()”Call Signature
Section titled “Call Signature”closest<
K>(selector):HTMLElementTagNameMap[K] |null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13666
The closest() method of the Element interface traverses the element and its parents (heading toward the document root) until it finds a node that matches the specified CSS selector.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof HTMLElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selector |
K |
Returns
Section titled “Returns”HTMLElementTagNameMap[K] | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.closest
Call Signature
Section titled “Call Signature”closest<
K>(selector):SVGElementTagNameMap[K] |null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13667
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof SVGElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selector |
K |
Returns
Section titled “Returns”SVGElementTagNameMap[K] | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.closest
Call Signature
Section titled “Call Signature”closest<
K>(selector):MathMLElementTagNameMap[K] |null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13668
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof MathMLElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selector |
K |
Returns
Section titled “Returns”MathMLElementTagNameMap[K] | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.closest
Call Signature
Section titled “Call Signature”closest<
E>(selectors):E|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13669
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
E extends Element |
Element |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
string |
Returns
Section titled “Returns”E | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.closest
compareDocumentPosition()
Section titled “compareDocumentPosition()”compareDocumentPosition(
other):number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26137
The compareDocumentPosition() method of the Node interface reports the position of its argument node relative to the node on which it is called.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
other |
Node |
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”HTMLButtonElement.compareDocumentPosition
computedStyleMap()
Section titled “computedStyleMap()”computedStyleMap():
StylePropertyMapReadOnly
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13675
The computedStyleMap() method of the Element interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
Returns
Section titled “Returns”StylePropertyMapReadOnly
Inherited from
Section titled “Inherited from”HTMLButtonElement.computedStyleMap
contains()
Section titled “contains()”contains(
other):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26143
The contains() method of the Node interface returns a boolean value indicating whether a node is a descendant of a given node, that is the node itself, one of its direct children (childNodes), one of the children’s direct children, and so on.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
other |
Node | null |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.contains
dispatchEvent()
Section titled “dispatchEvent()”dispatchEvent(
event):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:14386
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
event |
Event |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.dispatchEvent
focus()
Section titled “focus()”focus(
options?):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:20132
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
FocusOptions |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.focus
getAnimations()
Section titled “getAnimations()”getAnimations(
options?):Animation[]
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:3558
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
GetAnimationsOptions |
Returns
Section titled “Returns”Animation[]
Inherited from
Section titled “Inherited from”HTMLButtonElement.getAnimations
getAttribute()
Section titled “getAttribute()”getAttribute(
qualifiedName):string|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13681
The getAttribute() method of the Element interface returns the value of a specified attribute on the element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
string |
Returns
Section titled “Returns”string | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.getAttribute
getAttributeNames()
Section titled “getAttributeNames()”getAttributeNames():
string[]
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13693
The getAttributeNames() method of the Element interface returns the attribute names of the element as an Array of strings. If the element has no attributes it returns an empty array.
Returns
Section titled “Returns”string[]
Inherited from
Section titled “Inherited from”HTMLButtonElement.getAttributeNames
getAttributeNode()
Section titled “getAttributeNode()”getAttributeNode(
qualifiedName):Attr|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13699
Returns the specified attribute of the specified element, as an Attr node.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
string |
Returns
Section titled “Returns”Attr | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.getAttributeNode
getAttributeNodeNS()
Section titled “getAttributeNodeNS()”getAttributeNodeNS(
namespace,localName):Attr|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13705
The getAttributeNodeNS() method of the Element interface returns the namespaced Attr node of an element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespace |
string | null |
localName |
string |
Returns
Section titled “Returns”Attr | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.getAttributeNodeNS
getAttributeNS()
Section titled “getAttributeNS()”getAttributeNS(
namespace,localName):string|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13687
The getAttributeNS() method of the Element interface returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either be null or “” (the empty string); see Notes for details.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespace |
string | null |
localName |
string |
Returns
Section titled “Returns”string | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.getAttributeNS
getBoundingClientRect()
Section titled “getBoundingClientRect()”getBoundingClientRect():
DOMRect
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13711
The Element.getBoundingClientRect() method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.
Returns
Section titled “Returns”DOMRect
Inherited from
Section titled “Inherited from”HTMLButtonElement.getBoundingClientRect
getClientRects()
Section titled “getClientRects()”getClientRects():
DOMRectList
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13717
The getClientRects() method of the Element interface returns a collection of DOMRect objects that indicate the bounding rectangles for each CSS border box in a client.
Returns
Section titled “Returns”DOMRectList
Inherited from
Section titled “Inherited from”HTMLButtonElement.getClientRects
getElementsByClassName()
Section titled “getElementsByClassName()”getElementsByClassName(
classNames):HTMLCollectionOf<Element>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13723
The Element method getElementsByClassName() returns a live HTMLCollection which contains every descendant element which has the specified class name or names.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
classNames |
string |
Returns
Section titled “Returns”HTMLCollectionOf<Element>
Inherited from
Section titled “Inherited from”HTMLButtonElement.getElementsByClassName
getElementsByTagName()
Section titled “getElementsByTagName()”Call Signature
Section titled “Call Signature”getElementsByTagName<
K>(qualifiedName):HTMLCollectionOf<HTMLElementTagNameMap[K]>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13729
The Element.getElementsByTagName() method returns a live HTMLCollection of elements with the given tag name.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof HTMLElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
K |
Returns
Section titled “Returns”HTMLCollectionOf<HTMLElementTagNameMap[K]>
Inherited from
Section titled “Inherited from”HTMLButtonElement.getElementsByTagName
Call Signature
Section titled “Call Signature”getElementsByTagName<
K>(qualifiedName):HTMLCollectionOf<SVGElementTagNameMap[K]>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13730
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof SVGElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
K |
Returns
Section titled “Returns”HTMLCollectionOf<SVGElementTagNameMap[K]>
Inherited from
Section titled “Inherited from”HTMLButtonElement.getElementsByTagName
Call Signature
Section titled “Call Signature”getElementsByTagName<
K>(qualifiedName):HTMLCollectionOf<MathMLElementTagNameMap[K]>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13731
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof MathMLElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
K |
Returns
Section titled “Returns”HTMLCollectionOf<MathMLElementTagNameMap[K]>
Inherited from
Section titled “Inherited from”HTMLButtonElement.getElementsByTagName
Call Signature
Section titled “Call Signature”getElementsByTagName<
K>(qualifiedName):HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13733
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof HTMLElementDeprecatedTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
K |
Returns
Section titled “Returns”HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
Inherited from
Section titled “Inherited from”HTMLButtonElement.getElementsByTagName
Call Signature
Section titled “Call Signature”getElementsByTagName(
qualifiedName):HTMLCollectionOf<Element>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13734
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
string |
Returns
Section titled “Returns”HTMLCollectionOf<Element>
Inherited from
Section titled “Inherited from”HTMLButtonElement.getElementsByTagName
getElementsByTagNameNS()
Section titled “getElementsByTagNameNS()”Call Signature
Section titled “Call Signature”getElementsByTagNameNS(
namespaceURI,localName):HTMLCollectionOf<HTMLElement>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13740
The Element.getElementsByTagNameNS() method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is similar to Document.getElementsByTagNameNS, except that its search is restricted to descendants of the specified element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespaceURI |
"http://www.w3.org/1999/xhtml" |
localName |
string |
Returns
Section titled “Returns”HTMLCollectionOf<HTMLElement>
Inherited from
Section titled “Inherited from”HTMLButtonElement.getElementsByTagNameNS
Call Signature
Section titled “Call Signature”getElementsByTagNameNS(
namespaceURI,localName):HTMLCollectionOf<SVGElement>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13741
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespaceURI |
"http://www.w3.org/2000/svg" |
localName |
string |
Returns
Section titled “Returns”HTMLCollectionOf<SVGElement>
Inherited from
Section titled “Inherited from”HTMLButtonElement.getElementsByTagNameNS
Call Signature
Section titled “Call Signature”getElementsByTagNameNS(
namespaceURI,localName):HTMLCollectionOf<MathMLElement>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13742
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespaceURI |
"http://www.w3.org/1998/Math/MathML" |
localName |
string |
Returns
Section titled “Returns”HTMLCollectionOf<MathMLElement>
Inherited from
Section titled “Inherited from”HTMLButtonElement.getElementsByTagNameNS
Call Signature
Section titled “Call Signature”getElementsByTagNameNS(
namespace,localName):HTMLCollectionOf<Element>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13743
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespace |
string | null |
localName |
string |
Returns
Section titled “Returns”HTMLCollectionOf<Element>
Inherited from
Section titled “Inherited from”HTMLButtonElement.getElementsByTagNameNS
getHTML()
Section titled “getHTML()”getHTML(
options?):string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13749
The getHTML() method of the Element interface is used to serialize an element’s DOM to an HTML string.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
GetHTMLOptions |
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”HTMLButtonElement.getHTML
getRootNode()
Section titled “getRootNode()”getRootNode(
options?):Node
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26149
The getRootNode() method of the Node interface returns the context object’s root, which optionally includes the shadow root if it is available.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
GetRootNodeOptions |
Returns
Section titled “Returns”Node
Inherited from
Section titled “Inherited from”HTMLButtonElement.getRootNode
hasAttribute()
Section titled “hasAttribute()”hasAttribute(
qualifiedName):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13755
The Element.hasAttribute() method returns a Boolean value indicating whether the specified element has the specified attribute or not.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
string |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.hasAttribute
hasAttributeNS()
Section titled “hasAttributeNS()”hasAttributeNS(
namespace,localName):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13761
The hasAttributeNS() method of the Element interface returns a boolean value indicating whether the current element has the specified attribute with the specified namespace.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespace |
string | null |
localName |
string |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.hasAttributeNS
hasAttributes()
Section titled “hasAttributes()”hasAttributes():
boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13767
The hasAttributes() method of the Element interface returns a boolean value indicating whether the current element has any attributes or not.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.hasAttributes
hasChildNodes()
Section titled “hasChildNodes()”hasChildNodes():
boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26155
The hasChildNodes() method of the Node interface returns a boolean value indicating whether the given Node has child nodes or not.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.hasChildNodes
hasPointerCapture()
Section titled “hasPointerCapture()”hasPointerCapture(
pointerId):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13773
The hasPointerCapture() method of the Element interface checks whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
pointerId |
number |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.hasPointerCapture
hidePopover()
Section titled “hidePopover()”hidePopover():
void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17873
The hidePopover() method of the HTMLElement interface hides a popover element (i.e., one that has a valid popover attribute) by removing it from the top layer and styling it with display: none.
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.hidePopover
insertAdjacentElement()
Section titled “insertAdjacentElement()”insertAdjacentElement(
where,element):Element|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13779
The insertAdjacentElement() method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
where |
InsertPosition |
element |
Element |
Returns
Section titled “Returns”Element | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.insertAdjacentElement
insertAdjacentHTML()
Section titled “insertAdjacentHTML()”insertAdjacentHTML(
position,string):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13785
The insertAdjacentHTML() method of the Element interface parses the specified input as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
position |
InsertPosition |
string |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.insertAdjacentHTML
insertAdjacentText()
Section titled “insertAdjacentText()”insertAdjacentText(
where,data):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13791
The insertAdjacentText() method of the Element interface, given a relative position and a string, inserts a new text node at the given position relative to the element it is called from.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
where |
InsertPosition |
data |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.insertAdjacentText
insertBefore()
Section titled “insertBefore()”insertBefore<
T>(node,child):T
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26161
The insertBefore() method of the Node interface inserts a node before a reference node as a child of a specified parent node.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T extends Node |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
node |
T |
child |
Node | null |
Returns
Section titled “Returns”T
Inherited from
Section titled “Inherited from”HTMLButtonElement.insertBefore
isDefaultNamespace()
Section titled “isDefaultNamespace()”isDefaultNamespace(
namespace):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26167
The isDefaultNamespace() method of the Node interface accepts a namespace URI as an argument. It returns a boolean value that is true if the namespace is the default namespace on the given node and false if not. The default namespace can be retrieved with Node.lookupNamespaceURI() by passing null as the argument.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespace |
string | null |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.isDefaultNamespace
isEqualNode()
Section titled “isEqualNode()”isEqualNode(
otherNode):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26173
The isEqualNode() method of the Node interface tests whether two nodes are equal. Two nodes are equal when they have the same type, defining characteristics (for elements, this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the nodes.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
otherNode |
Node | null |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.isEqualNode
isSameNode()
Section titled “isSameNode()”isSameNode(
otherNode):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26179
The isSameNode() method of the Node interface is a legacy alias the for the === strict equality operator. That is, it tests whether two nodes are the same (in other words, whether they reference the same object).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
otherNode |
Node | null |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.isSameNode
lookupNamespaceURI()
Section titled “lookupNamespaceURI()”lookupNamespaceURI(
prefix):string|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26185
The lookupNamespaceURI() method of the Node interface takes a prefix as parameter and returns the namespace URI associated with it on the given node if found (and null if not). This method’s existence allows Node objects to be passed as a namespace resolver to XPathEvaluator.createExpression() and XPathEvaluator.evaluate().
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
prefix |
string | null |
Returns
Section titled “Returns”string | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.lookupNamespaceURI
lookupPrefix()
Section titled “lookupPrefix()”lookupPrefix(
namespace):string|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26191
The lookupPrefix() method of the Node interface returns a string containing the prefix for a given namespace URI, if present, and null if not. When multiple prefixes are possible, the first prefix is returned.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespace |
string | null |
Returns
Section titled “Returns”string | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.lookupPrefix
matches()
Section titled “matches()”Call Signature
Section titled “Call Signature”matches<
K>(selectors):this is HTMLElementTagNameMap[K]
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13797
The matches() method of the Element interface tests whether the element would be selected by the specified CSS selector.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof HTMLElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”this is HTMLElementTagNameMap[K]
Inherited from
Section titled “Inherited from”HTMLButtonElement.matches
Call Signature
Section titled “Call Signature”matches<
K>(selectors):this is SVGElementTagNameMap[K]
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13798
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof SVGElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”this is SVGElementTagNameMap[K]
Inherited from
Section titled “Inherited from”HTMLButtonElement.matches
Call Signature
Section titled “Call Signature”matches<
K>(selectors):this is MathMLElementTagNameMap[K]
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13799
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof MathMLElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”this is MathMLElementTagNameMap[K]
Inherited from
Section titled “Inherited from”HTMLButtonElement.matches
Call Signature
Section titled “Call Signature”matches(
selectors):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13800
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
string |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.matches
moveBefore()
Section titled “moveBefore()”moveBefore(
node,child):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27072
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
node |
Node |
child |
Node | null |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.moveBefore
normalize()
Section titled “normalize()”normalize():
void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26197
The normalize() method of the Node interface puts the specified node and all of its sub-tree into a normalized form. In a normalized sub-tree, no text nodes in the sub-tree are empty and there are no adjacent text nodes.
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.normalize
prepend()
Section titled “prepend()”prepend(…
nodes):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27080
Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…nodes |
(string | Node)[] |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.prepend
querySelector()
Section titled “querySelector()”Call Signature
Section titled “Call Signature”querySelector<
K>(selectors):HTMLElementTagNameMap[K] |null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27086
Returns the first element that is a descendant of node that matches selectors.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof HTMLElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”HTMLElementTagNameMap[K] | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.querySelector
Call Signature
Section titled “Call Signature”querySelector<
K>(selectors):SVGElementTagNameMap[K] |null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27087
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof SVGElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”SVGElementTagNameMap[K] | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.querySelector
Call Signature
Section titled “Call Signature”querySelector<
K>(selectors):MathMLElementTagNameMap[K] |null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27088
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof MathMLElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”MathMLElementTagNameMap[K] | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.querySelector
Call Signature
Section titled “Call Signature”querySelector<
K>(selectors):HTMLElementDeprecatedTagNameMap[K] |null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27090
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof HTMLElementDeprecatedTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”HTMLElementDeprecatedTagNameMap[K] | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.querySelector
Call Signature
Section titled “Call Signature”querySelector<
E>(selectors):E|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27091
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
E extends Element |
Element |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
string |
Returns
Section titled “Returns”E | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.querySelector
querySelectorAll()
Section titled “querySelectorAll()”Call Signature
Section titled “Call Signature”querySelectorAll<
K>(selectors):NodeListOf<HTMLElementTagNameMap[K]>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27097
Returns all element descendants of node that match selectors.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof HTMLElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”NodeListOf<HTMLElementTagNameMap[K]>
Inherited from
Section titled “Inherited from”HTMLButtonElement.querySelectorAll
Call Signature
Section titled “Call Signature”querySelectorAll<
K>(selectors):NodeListOf<SVGElementTagNameMap[K]>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27098
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof SVGElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”NodeListOf<SVGElementTagNameMap[K]>
Inherited from
Section titled “Inherited from”HTMLButtonElement.querySelectorAll
Call Signature
Section titled “Call Signature”querySelectorAll<
K>(selectors):NodeListOf<MathMLElementTagNameMap[K]>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27099
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof MathMLElementTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”NodeListOf<MathMLElementTagNameMap[K]>
Inherited from
Section titled “Inherited from”HTMLButtonElement.querySelectorAll
Call Signature
Section titled “Call Signature”querySelectorAll<
K>(selectors):NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27101
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof HTMLElementDeprecatedTagNameMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
K |
Returns
Section titled “Returns”NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
Inherited from
Section titled “Inherited from”HTMLButtonElement.querySelectorAll
Call Signature
Section titled “Call Signature”querySelectorAll<
E>(selectors):NodeListOf<E>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27102
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
E extends Element |
Element |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
string |
Returns
Section titled “Returns”NodeListOf<E>
Inherited from
Section titled “Inherited from”HTMLButtonElement.querySelectorAll
releasePointerCapture()
Section titled “releasePointerCapture()”releasePointerCapture(
pointerId):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13806
The releasePointerCapture() method of the Element interface releases (stops) pointer capture that was previously set for a specific (PointerEvent) pointer.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
pointerId |
number |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.releasePointerCapture
remove()
Section titled “remove()”remove():
void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10671
Removes node.
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.remove
removeAttribute()
Section titled “removeAttribute()”removeAttribute(
qualifiedName):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13812
The Element method removeAttribute() removes the attribute with the specified name from the element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.removeAttribute
removeAttributeNode()
Section titled “removeAttributeNode()”removeAttributeNode(
attr):Attr
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13824
The removeAttributeNode() method of the Element interface removes the specified Attr node from the element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
attr |
Attr |
Returns
Section titled “Returns”Attr
Inherited from
Section titled “Inherited from”HTMLButtonElement.removeAttributeNode
removeAttributeNS()
Section titled “removeAttributeNS()”removeAttributeNS(
namespace,localName):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13818
The removeAttributeNS() method of the Element interface removes the specified attribute with the specified namespace from an element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespace |
string | null |
localName |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.removeAttributeNS
removeChild()
Section titled “removeChild()”removeChild<
T>(child):T
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26203
The removeChild() method of the Node interface removes a child node from the DOM and returns the removed node.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T extends Node |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
child |
T |
Returns
Section titled “Returns”T
Inherited from
Section titled “Inherited from”HTMLButtonElement.removeChild
removeEventListener()
Section titled “removeEventListener()”Call Signature
Section titled “Call Signature”removeEventListener<
K>(type,listener,options?):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17402
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends keyof HTMLElementEventMap |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type |
K |
listener |
(this, ev) => any |
options? |
boolean | EventListenerOptions |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.removeEventListener
Call Signature
Section titled “Call Signature”removeEventListener(
type,listener,options?):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17403
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type |
string |
listener |
EventListenerOrEventListenerObject |
options? |
boolean | EventListenerOptions |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.removeEventListener
replaceChild()
Section titled “replaceChild()”replaceChild<
T>(node,child):T
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:26209
The replaceChild() method of the Node interface replaces a child node within the given (parent) node.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T extends Node |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
node |
Node |
child |
T |
Returns
Section titled “Returns”T
Inherited from
Section titled “Inherited from”HTMLButtonElement.replaceChild
replaceChildren()
Section titled “replaceChildren()”replaceChildren(…
nodes):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:27110
Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.
Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…nodes |
(string | Node)[] |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.replaceChildren
replaceWith()
Section titled “replaceWith()”replaceWith(…
nodes):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10679
Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…nodes |
(string | Node)[] |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.replaceWith
reportValidity()
Section titled “reportValidity()”reportValidity():
boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17393
The reportValidity() method of the HTMLButtonElement interface performs the same validity checking steps as the checkValidity() method. In addition, if the invalid event is not canceled, the browser displays the problem to the user.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.reportValidity
requestFullscreen()
Section titled “requestFullscreen()”requestFullscreen(
options?):Promise<void>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13830
The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in fullscreen mode.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
FullscreenOptions |
Returns
Section titled “Returns”Promise<void>
Inherited from
Section titled “Inherited from”HTMLButtonElement.requestFullscreen
requestPointerLock()
Section titled “requestPointerLock()”requestPointerLock(
options?):Promise<void>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13836
The requestPointerLock() method of the Element interface lets you asynchronously ask for the pointer to be locked on the given element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
PointerLockOptions |
Returns
Section titled “Returns”Promise<void>
Inherited from
Section titled “Inherited from”HTMLButtonElement.requestPointerLock
scroll()
Section titled “scroll()”Call Signature
Section titled “Call Signature”scroll(
options?):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13842
The scroll() method of the Element interface scrolls the element to a particular set of coordinates inside a given element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
ScrollToOptions |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.scroll
Call Signature
Section titled “Call Signature”scroll(
x,y):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13843
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
x |
number |
y |
number |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.scroll
scrollBy()
Section titled “scrollBy()”Call Signature
Section titled “Call Signature”scrollBy(
options?):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13849
The scrollBy() method of the Element interface scrolls an element by the given amount.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
ScrollToOptions |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.scrollBy
Call Signature
Section titled “Call Signature”scrollBy(
x,y):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13850
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
x |
number |
y |
number |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.scrollBy
scrollIntoView()
Section titled “scrollIntoView()”scrollIntoView(
arg?):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13856
The Element interface’s scrollIntoView() method scrolls the element’s ancestor containers such that the element on which scrollIntoView() is called is visible to the user.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
arg? |
boolean | ScrollIntoViewOptions |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.scrollIntoView
scrollTo()
Section titled “scrollTo()”Call Signature
Section titled “Call Signature”scrollTo(
options?):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13862
The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
ScrollToOptions |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.scrollTo
Call Signature
Section titled “Call Signature”scrollTo(
x,y):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13863
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
x |
number |
y |
number |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.scrollTo
setAttribute()
Section titled “setAttribute()”setAttribute(
qualifiedName,value):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13869
The setAttribute() method of the Element interface sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
string |
value |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.setAttribute
setAttributeNode()
Section titled “setAttributeNode()”setAttributeNode(
attr):Attr|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13881
The setAttributeNode() method of the Element interface adds a new Attr node to the specified element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
attr |
Attr |
Returns
Section titled “Returns”Attr | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.setAttributeNode
setAttributeNodeNS()
Section titled “setAttributeNodeNS()”setAttributeNodeNS(
attr):Attr|null
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13887
The setAttributeNodeNS() method of the Element interface adds a new namespaced Attr node to an element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
attr |
Attr |
Returns
Section titled “Returns”Attr | null
Inherited from
Section titled “Inherited from”HTMLButtonElement.setAttributeNodeNS
setAttributeNS()
Section titled “setAttributeNS()”setAttributeNS(
namespace,qualifiedName,value):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13875
The setAttributeNS() method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
namespace |
string | null |
qualifiedName |
string |
value |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.setAttributeNS
setCustomValidity()
Section titled “setCustomValidity()”setCustomValidity(
error):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17399
The setCustomValidity() method of the HTMLButtonElement interface sets the custom validity message for the
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
error |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.setCustomValidity
setHTMLUnsafe()
Section titled “setHTMLUnsafe()”setHTMLUnsafe(
html):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13893
The setHTMLUnsafe() method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don’t belong in the context, and then using it to replace the element’s subtree in the DOM.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
html |
string |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.setHTMLUnsafe
setPointerCapture()
Section titled “setPointerCapture()”setPointerCapture(
pointerId):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13899
The setPointerCapture() method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the pointerup event is fired).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
pointerId |
number |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.setPointerCapture
showPopover()
Section titled “showPopover()”showPopover(
options?):void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17879
The showPopover() method of the HTMLElement interface shows a popover element (i.e., one that has a valid popover attribute) by adding it to the top layer.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
ShowPopoverOptions |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”HTMLButtonElement.showPopover
toggleAttribute()
Section titled “toggleAttribute()”toggleAttribute(
qualifiedName,force?):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13905
The toggleAttribute() method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
qualifiedName |
string |
force? |
boolean |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.toggleAttribute
togglePopover()
Section titled “togglePopover()”togglePopover(
options?):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:17885
The togglePopover() method of the HTMLElement interface toggles a popover element (i.e., one that has a valid popover attribute) between the hidden and showing states.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
boolean | TogglePopoverOptions |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.togglePopover
webkitMatchesSelector()
Section titled “webkitMatchesSelector()”webkitMatchesSelector(
selectors):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:13911
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
selectors |
string |
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”HTMLButtonElement.webkitMatchesSelector