HTMLFrameSetElement
charging?: boolean;
chargingTime?: number;
dischargingTime?: number;
level?: number;
onbeforexrselect:
| null
| ((this: GlobalEventHandlers, ev: XRSessionEvent) => any);
ariaAtomic: null | string;
ariaAutoComplete: null | string;
ariaBrailleLabel: null | string;
ariaBrailleRoleDescription: null | string;
ariaBusy: null | string;
ariaChecked: null | string;
ariaColCount: null | string;
ariaColIndex: null | string;
ariaColIndexText: null | string;
ariaColSpan: null | string;
ariaCurrent: null | string;
ariaDescription: null | string;
ariaDisabled: null | string;
ariaExpanded: null | string;
ariaHasPopup: null | string;
ariaHidden: null | string;
ariaInvalid: null | string;
ariaKeyShortcuts: null | string;
ariaLabel: null | string;
ariaLevel: null | string;
ariaLive: null | string;
ariaModal: null | string;
ariaMultiLine: null | string;
ariaMultiSelectable: null | string;
ariaOrientation: null | string;
ariaPlaceholder: null | string;
ariaPosInSet: null | string;
ariaPressed: null | string;
ariaReadOnly: null | string;
ariaRelevant: null | string;
ariaRequired: null | string;
ariaRoleDescription: null | string;
ariaRowCount: null | string;
ariaRowIndex: null | string;
ariaRowIndexText: null | string;
ariaRowSpan: null | string;
ariaSelected: null | string;
ariaSetSize: null | string;
ariaSort: null | string;
ariaValueMax: null | string;
ariaValueMin: null | string;
ariaValueNow: null | string;
ariaValueText: null | string;
role: null | string;
animate(
keyframes: null | Keyframe[] | PropertyIndexedKeyframes,
options?: number | KeyframeAnimationOptions,
): Animation;
getAnimations(options?: GetAnimationsOptions): Animation[];
after(...nodes: (string | Node)[]): void;
before(...nodes: (string | Node)[]): void;
remove(): void;
replaceWith(...nodes: (string | Node)[]): void;
attributes: NamedNodeMap;
get classList(): DOMTokenList;
set classList(value: string): void;
className: string;
clientHeight: number;
clientLeft: number;
clientTop: number;
clientWidth: number;
currentCSSZoom: number;
id: string;
innerHTML: string;
localName: string;
namespaceURI: null | string;
onfullscreenchange: null | ((this: Element, ev: Event) => any);
onfullscreenerror: null | ((this: Element, ev: Event) => any);
outerHTML: string;
ownerDocument: Document;
get part(): DOMTokenList;
set part(value: string): void;
prefix: null | string;
scrollHeight: number;
scrollLeft: number;
scrollTop: number;
scrollWidth: number;
shadowRoot: null | ShadowRoot;
slot: string;
tagName: string;
attachShadow(init: ShadowRootInit): ShadowRoot;
checkVisibility(options?: CheckVisibilityOptions): boolean;
closest<K extends keyof HTMLElementTagNameMap>(
selector: K,
): null | HTMLElementTagNameMap[K];
closest<K extends keyof SVGElementTagNameMap>(
selector: K,
): null | SVGElementTagNameMap[K];
closest<K extends keyof MathMLElementTagNameMap>(
selector: K,
): null | MathMLElementTagNameMap[K];
closest<E extends Element = Element>(selectors: string): null | E;
computedStyleMap(): StylePropertyMapReadOnly;
getAttribute(qualifiedName: string): null | string;
getAttributeNS(namespace: null | string, localName: string): null | string;
getAttributeNames(): string[];
getAttributeNode(qualifiedName: string): null | Attr;
getAttributeNodeNS(
namespace: null | string,
localName: string,
): null | Attr;
getBoundingClientRect(): DOMRect;
getClientRects(): DOMRectList;
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(
qualifiedName: K,
): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
getElementsByTagName<K extends keyof SVGElementTagNameMap>(
qualifiedName: K,
): HTMLCollectionOf<SVGElementTagNameMap[K]>;
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(
qualifiedName: K,
): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(
qualifiedName: K,
): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
getElementsByTagNameNS(
namespaceURI: "http://www.w3.org/1999/xhtml",
localName: string,
): HTMLCollectionOf<HTMLElement>;
getElementsByTagNameNS(
namespaceURI: "http://www.w3.org/2000/svg",
localName: string,
): HTMLCollectionOf<SVGElement>;
getElementsByTagNameNS(
namespaceURI: "http://www.w3.org/1998/Math/MathML",
localName: string,
): HTMLCollectionOf<MathMLElement>;
getElementsByTagNameNS(
namespace: null | string,
localName: string,
): HTMLCollectionOf<Element>;
getHTML(options?: GetHTMLOptions): string;
hasAttribute(qualifiedName: string): boolean;
hasAttributeNS(namespace: null | string, localName: string): boolean;
hasAttributes(): boolean;
hasPointerCapture(pointerId: number): boolean;
insertAdjacentElement(
where: InsertPosition,
element: Element,
): null | Element;
insertAdjacentHTML(position: InsertPosition, string: string): void;
insertAdjacentText(where: InsertPosition, data: string): void;
matches(selectors: string): boolean;
releasePointerCapture(pointerId: number): void;
removeAttribute(qualifiedName: string): void;
removeAttributeNS(namespace: null | string, localName: string): void;
removeAttributeNode(attr: Attr): Attr;
requestFullscreen(options?: FullscreenOptions): Promise<void>;
requestPointerLock(options?: PointerLockOptions): Promise<void>;
scroll(options?: ScrollToOptions): void;
scroll(x: number, y: number): void;
scrollBy(options?: ScrollToOptions): void;
scrollBy(x: number, y: number): void;
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
scrollTo(options?: ScrollToOptions): void;
scrollTo(x: number, y: number): void;
setAttribute(qualifiedName: string, value: string): void;
setAttributeNS(
namespace: null | string,
qualifiedName: string,
value: string,
): void;
setAttributeNode(attr: Attr): null | Attr;
setAttributeNodeNS(attr: Attr): null | Attr;
setHTMLUnsafe(html: string): void;
setPointerCapture(pointerId: number): void;
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
webkitMatchesSelector(selectors: string): boolean;
attributeStyleMap: StylePropertyMap;
get style(): CSSStyleDeclaration;
set style(cssText: string): void;
contentEditable: string;
enterKeyHint: string;
inputMode: string;
isContentEditable: boolean;
dispatchEvent(event: Event): boolean;
onabort: null | ((this: GlobalEventHandlers, ev: UIEvent) => any);
onanimationcancel:
| null
| ((this: GlobalEventHandlers, ev: AnimationEvent) => any);
onanimationend:
| null
| ((this: GlobalEventHandlers, ev: AnimationEvent) => any);
onanimationiteration:
| null
| ((this: GlobalEventHandlers, ev: AnimationEvent) => any);
onanimationstart:
| null
| ((this: GlobalEventHandlers, ev: AnimationEvent) => any);
onauxclick: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
onbeforeinput: null | ((this: GlobalEventHandlers, ev: InputEvent) => any);
onbeforetoggle: null | ((this: GlobalEventHandlers, ev: Event) => any);
onblur: null | ((this: GlobalEventHandlers, ev: FocusEvent) => any);
oncancel: null | ((this: GlobalEventHandlers, ev: Event) => any);
oncanplay: null | ((this: GlobalEventHandlers, ev: Event) => any);
oncanplaythrough: null | ((this: GlobalEventHandlers, ev: Event) => any);
onchange: null | ((this: GlobalEventHandlers, ev: Event) => any);
onclick: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
onclose: null | ((this: GlobalEventHandlers, ev: Event) => any);
oncontextlost: null | ((this: GlobalEventHandlers, ev: Event) => any);
oncontextmenu: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
oncontextrestored: null | ((this: GlobalEventHandlers, ev: Event) => any);
oncopy: null | ((this: GlobalEventHandlers, ev: ClipboardEvent) => any);
oncuechange: null | ((this: GlobalEventHandlers, ev: Event) => any);
oncut: null | ((this: GlobalEventHandlers, ev: ClipboardEvent) => any);
ondblclick: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
ondrag: null | ((this: GlobalEventHandlers, ev: DragEvent) => any);
ondragend: null | ((this: GlobalEventHandlers, ev: DragEvent) => any);
ondragenter: null | ((this: GlobalEventHandlers, ev: DragEvent) => any);
ondragleave: null | ((this: GlobalEventHandlers, ev: DragEvent) => any);
ondragover: null | ((this: GlobalEventHandlers, ev: DragEvent) => any);
ondragstart: null | ((this: GlobalEventHandlers, ev: DragEvent) => any);
ondrop: null | ((this: GlobalEventHandlers, ev: DragEvent) => any);
ondurationchange: null | ((this: GlobalEventHandlers, ev: Event) => any);
onemptied: null | ((this: GlobalEventHandlers, ev: Event) => any);
onended: null | ((this: GlobalEventHandlers, ev: Event) => any);
onerror: OnErrorEventHandler;
onfocus: null | ((this: GlobalEventHandlers, ev: FocusEvent) => any);
onformdata: null | ((this: GlobalEventHandlers, ev: FormDataEvent) => any);
ongotpointercapture:
| null
| ((this: GlobalEventHandlers, ev: PointerEvent) => any);
oninput: null | ((this: GlobalEventHandlers, ev: Event) => any);
oninvalid: null | ((this: GlobalEventHandlers, ev: Event) => any);
onkeydown: null | ((this: GlobalEventHandlers, ev: KeyboardEvent) => any);
onkeypress: null | ((this: GlobalEventHandlers, ev: KeyboardEvent) => any);
onkeyup: null | ((this: GlobalEventHandlers, ev: KeyboardEvent) => any);
onload: null | ((this: GlobalEventHandlers, ev: Event) => any);
onloadeddata: null | ((this: GlobalEventHandlers, ev: Event) => any);
onloadedmetadata: null | ((this: GlobalEventHandlers, ev: Event) => any);
onloadstart: null | ((this: GlobalEventHandlers, ev: Event) => any);
onlostpointercapture:
| null
| ((this: GlobalEventHandlers, ev: PointerEvent) => any);
onmousedown: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
onmouseenter: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
onmouseleave: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
onmousemove: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
onmouseout: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
onmouseover: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
onmouseup: null | ((this: GlobalEventHandlers, ev: MouseEvent) => any);
onpaste: null | ((this: GlobalEventHandlers, ev: ClipboardEvent) => any);
onpause: null | ((this: GlobalEventHandlers, ev: Event) => any);
onplay: null | ((this: GlobalEventHandlers, ev: Event) => any);
onplaying: null | ((this: GlobalEventHandlers, ev: Event) => any);
onpointercancel:
| null
| ((this: GlobalEventHandlers, ev: PointerEvent) => any);
onpointerdown:
| null
| ((this: GlobalEventHandlers, ev: PointerEvent) => any);
onpointerenter:
| null
| ((this: GlobalEventHandlers, ev: PointerEvent) => any);
onpointerleave:
| null
| ((this: GlobalEventHandlers, ev: PointerEvent) => any);
onpointermove:
| null
| ((this: GlobalEventHandlers, ev: PointerEvent) => any);
onpointerout: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any);
onpointerover:
| null
| ((this: GlobalEventHandlers, ev: PointerEvent) => any);
onpointerup: null | ((this: GlobalEventHandlers, ev: PointerEvent) => any);
onprogress: null | ((this: GlobalEventHandlers, ev: ProgressEvent) => any);
onratechange: null | ((this: GlobalEventHandlers, ev: Event) => any);
onreset: null | ((this: GlobalEventHandlers, ev: Event) => any);
onresize: null | ((this: GlobalEventHandlers, ev: UIEvent) => any);
onscroll: null | ((this: GlobalEventHandlers, ev: Event) => any);
onscrollend: null | ((this: GlobalEventHandlers, ev: Event) => any);
onsecuritypolicyviolation:
| null
| ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any);
onseeked: null | ((this: GlobalEventHandlers, ev: Event) => any);
onseeking: null | ((this: GlobalEventHandlers, ev: Event) => any);
onselect: null | ((this: GlobalEventHandlers, ev: Event) => any);
onselectionchange: null | ((this: GlobalEventHandlers, ev: Event) => any);
onselectstart: null | ((this: GlobalEventHandlers, ev: Event) => any);
onslotchange: null | ((this: GlobalEventHandlers, ev: Event) => any);
onstalled: null | ((this: GlobalEventHandlers, ev: Event) => any);
onsubmit: null | ((this: GlobalEventHandlers, ev: SubmitEvent) => any);
onsuspend: null | ((this: GlobalEventHandlers, ev: Event) => any);
ontimeupdate: null | ((this: GlobalEventHandlers, ev: Event) => any);
ontoggle: null | ((this: GlobalEventHandlers, ev: Event) => any);
ontouchcancel?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any);
ontouchend?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any);
ontouchmove?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any);
ontouchstart?: null | ((this: GlobalEventHandlers, ev: TouchEvent) => any);
ontransitioncancel:
| null
| ((this: GlobalEventHandlers, ev: TransitionEvent) => any);
ontransitionend:
| null
| ((this: GlobalEventHandlers, ev: TransitionEvent) => any);
ontransitionrun:
| null
| ((this: GlobalEventHandlers, ev: TransitionEvent) => any);
ontransitionstart:
| null
| ((this: GlobalEventHandlers, ev: TransitionEvent) => any);
onvolumechange: null | ((this: GlobalEventHandlers, ev: Event) => any);
onwaiting: null | ((this: GlobalEventHandlers, ev: Event) => any);
onwebkitanimationend:
| null
| ((this: GlobalEventHandlers, ev: Event) => any);
onwebkitanimationiteration:
| null
| ((this: GlobalEventHandlers, ev: Event) => any);
onwebkitanimationstart:
| null
| ((this: GlobalEventHandlers, ev: Event) => any);
onwebkittransitionend:
| null
| ((this: GlobalEventHandlers, ev: Event) => any);
onwheel: null | ((this: GlobalEventHandlers, ev: WheelEvent) => any);
accessKey: string;
accessKeyLabel: string;
autocapitalize: string;
dir: string;
draggable: boolean;
hidden: boolean;
inert: boolean;
innerText: string;
lang: string;
offsetHeight: number;
offsetLeft: number;
offsetParent: null | Element;
offsetTop: number;
offsetWidth: number;
outerText: string;
popover: null | string;
spellcheck: boolean;
title: string;
translate: boolean;
writingSuggestions: string;
attachInternals(): ElementInternals;
click(): void;
hidePopover(): void;
showPopover(): void;
togglePopover(options?: boolean): boolean;
cols: string;
rows: string;
addEventListener<K extends keyof HTMLFrameSetElementEventMap>(
type: K,
listener: (
this: HTMLFrameSetElement,
ev: HTMLFrameSetElementEventMap[K],
) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof HTMLFrameSetElementEventMap>(
type: K,
listener: (
this: HTMLFrameSetElement,
ev: HTMLFrameSetElementEventMap[K],
) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;
autofocus: boolean;
dataset: DOMStringMap;
nonce?: string;
tabIndex: number;
blur(): void;
focus(options?: FocusOptions): void;
baseURI: string;
childNodes: NodeListOf<ChildNode>;
firstChild: null | ChildNode;
isConnected: boolean;
lastChild: null | ChildNode;
nextSibling: null | ChildNode;
nodeName: string;
nodeType: number;
nodeValue: null | string;
parentElement: null | HTMLElement;
parentNode: null | ParentNode;
previousSibling: null | ChildNode;
textContent: null | string;
appendChild<T extends Node>(node: T): T;
cloneNode(subtree?: boolean): Node;
compareDocumentPosition(other: Node): number;
contains(other: null | Node): boolean;
getRootNode(options?: GetRootNodeOptions): Node;
hasChildNodes(): boolean;
insertBefore<T extends Node>(node: T, child: null | Node): T;
isDefaultNamespace(namespace: null | string): boolean;
isEqualNode(otherNode: null | Node): boolean;
isSameNode(otherNode: null | Node): boolean;
lookupNamespaceURI(prefix: null | string): null | string;
lookupPrefix(namespace: null | string): null | string;
normalize(): void;
removeChild<T extends Node>(child: T): T;
replaceChild<T extends Node>(node: Node, child: T): T;
ELEMENT_NODE: 1;
ATTRIBUTE_NODE: 2;
TEXT_NODE: 3;
CDATA_SECTION_NODE: 4;
ENTITY_REFERENCE_NODE: 5;
ENTITY_NODE: 6;
PROCESSING_INSTRUCTION_NODE: 7;
COMMENT_NODE: 8;
DOCUMENT_NODE: 9;
DOCUMENT_TYPE_NODE: 10;
DOCUMENT_FRAGMENT_NODE: 11;
NOTATION_NODE: 12;
DOCUMENT_POSITION_DISCONNECTED: 1;
DOCUMENT_POSITION_PRECEDING: 2;
DOCUMENT_POSITION_FOLLOWING: 4;
DOCUMENT_POSITION_CONTAINS: 8;
DOCUMENT_POSITION_CONTAINED_BY: 16;
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
nextElementSibling: null | Element;
previousElementSibling: null | Element;
childElementCount: number;
children: HTMLCollection;
firstElementChild: null | Element;
lastElementChild: null | Element;
append(...nodes: (string | Node)[]): void;
prepend(...nodes: (string | Node)[]): void;
querySelector<K extends keyof HTMLElementTagNameMap>(
selectors: K,
): null | HTMLElementTagNameMap[K];
querySelector<K extends keyof SVGElementTagNameMap>(
selectors: K,
): null | SVGElementTagNameMap[K];
querySelector<K extends keyof MathMLElementTagNameMap>(
selectors: K,
): null | MathMLElementTagNameMap[K];
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(
selectors: K,
): null | HTMLElementDeprecatedTagNameMap[K];
querySelector<E extends Element = Element>(selectors: string): null | E;
querySelectorAll<K extends keyof HTMLElementTagNameMap>(
selectors: K,
): NodeListOf<HTMLElementTagNameMap[K]>;
querySelectorAll<K extends keyof SVGElementTagNameMap>(
selectors: K,
): NodeListOf<SVGElementTagNameMap[K]>;
querySelectorAll<K extends keyof MathMLElementTagNameMap>(
selectors: K,
): NodeListOf<MathMLElementTagNameMap[K]>;
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(
selectors: K,
): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
querySelectorAll<E extends Element = Element>(
selectors: string,
): NodeListOf<E>;
replaceChildren(...nodes: (string | Node)[]): void;
assignedSlot: null | HTMLSlotElement;
onafterprint: null | ((this: WindowEventHandlers, ev: Event) => any);
onbeforeprint: null | ((this: WindowEventHandlers, ev: Event) => any);
onbeforeunload:
| null
| ((this: WindowEventHandlers, ev: BeforeUnloadEvent) => any);
ongamepadconnected:
| null
| ((this: WindowEventHandlers, ev: GamepadEvent) => any);
ongamepaddisconnected:
| null
| ((this: WindowEventHandlers, ev: GamepadEvent) => any);
onhashchange:
| null
| ((this: WindowEventHandlers, ev: HashChangeEvent) => any);
onlanguagechange: null | ((this: WindowEventHandlers, ev: Event) => any);
onmessage: null | ((this: WindowEventHandlers, ev: MessageEvent) => any);
onmessageerror:
| null
| ((this: WindowEventHandlers, ev: MessageEvent) => any);
onoffline: null | ((this: WindowEventHandlers, ev: Event) => any);
ononline: null | ((this: WindowEventHandlers, ev: Event) => any);
onpagehide:
| null
| ((this: WindowEventHandlers, ev: PageTransitionEvent) => any);
onpagereveal: null | ((this: WindowEventHandlers, ev: Event) => any);
onpageshow:
| null
| ((this: WindowEventHandlers, ev: PageTransitionEvent) => any);
onpageswap: null | ((this: WindowEventHandlers, ev: Event) => any);
onpopstate: null | ((this: WindowEventHandlers, ev: PopStateEvent) => any);
onrejectionhandled:
| null
| ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any);
onstorage: null | ((this: WindowEventHandlers, ev: StorageEvent) => any);
onunhandledrejection:
| null
| ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any);
onunload: null | ((this: WindowEventHandlers, ev: Event) => any);
}
Hierarchy (View Summary)
- HTMLElement
- WindowEventHandlers
- HTMLFrameSetElement
Index
Properties
Accessors
Methods
Properties
Optional
charging
Optional
charging Time
Optional
discharging Time
Optional
level
onbeforexrselect
An XRSessionEvent of type beforexrselect is dispatched on the DOM overlay element before generating a WebXR selectstart input event if the -Z axis of the input source's targetRaySpace intersects the DOM overlay element at the time the input device's primary action is triggered.
aria Atomic
aria Auto Complete
aria Braille Label
aria Braille Role Description
aria Busy
aria Checked
aria Col Count
aria Col Index
aria Col Index Text
aria Col Span
aria Current
aria Description
aria Disabled
aria Expanded
aria Has Popup
aria Hidden
aria Invalid
aria Key Shortcuts
aria Label
aria Level
aria Live
aria Modal
aria Multi Line
aria Multi Selectable
aria Orientation
aria Placeholder
aria Pos In Set
aria Pressed
aria Read Only
aria Relevant
aria Required
aria Role Description
aria Row Count
aria Row Index
aria Row Index Text
aria Row Span
aria Selected
aria Set Size
aria Sort
aria Value Max
aria Value Min
aria Value Now
aria Value Text
role
Readonly
attributes
class Name
Returns the value of element's class content attribute. Can be set to change it.
Readonly
client Height
Readonly
client Left
Readonly
client Top
Readonly
client Width
Readonly
current CSS Zoom
id
Returns the value of element's id content attribute. Can be set to change it.
inner HTML
Readonly
local Name
Returns the local name.
Readonly
namespace URI
Returns the namespace.
onfullscreenchange
onfullscreenerror
outer HTML
Readonly
owner Document
Returns the node document. Returns null for documents.
Readonly
prefix
Returns the namespace prefix.
Readonly
scroll Height
scroll Left
scroll Top
Readonly
scroll Width
Readonly
shadow Root
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
slot
Returns the value of element's slot content attribute. Can be set to change it.
Readonly
tag Name
Returns the HTML-uppercased qualified name.
Readonly
attribute Style Map
content Editable
enter Key Hint
input Mode
Readonly
is Content Editable
onabort
Fires when the user aborts the download.
onanimationcancel
onanimationend
onanimationiteration
onanimationstart
onauxclick
onbeforeinput
onbeforetoggle
onblur
Fires when the object loses the input focus.
oncancel
oncanplay
Occurs when playback is possible, but would require further buffering.
oncanplaythrough
onchange
Fires when the contents of the object or selection have changed.
onclick
Fires when the user clicks the left mouse button on the object
onclose
oncontextlost
oncontextmenu
Fires when the user clicks the right mouse button in the client area, opening the context menu.
oncontextrestored
oncopy
oncuechange
oncut
ondblclick
Fires when the user double-clicks the object.
ondrag
Fires on the source object continuously during a drag operation.
ondragend
Fires on the source object when the user releases the mouse at the close of a drag operation.
ondragenter
Fires on the target element when the user drags the object to a valid drop target.
ondragleave
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
ondragover
Fires on the target element continuously while the user drags the object over a valid drop target.
ondragstart
Fires on the source object when the user starts to drag a text selection or selected object.
ondrop
ondurationchange
Occurs when the duration attribute is updated.
onemptied
Occurs when the media element is reset to its initial state.
onended
Occurs when the end of playback is reached.
onerror
Fires when an error occurs during object loading.
onfocus
Fires when the object receives focus.
onformdata
ongotpointercapture
oninput
oninvalid
onkeydown
Fires when the user presses a key.
onkeypress
Fires when the user presses an alphanumeric key.
onkeyup
Fires when the user releases a key.
onload
Fires immediately after the browser loads the object.
onloadeddata
Occurs when media data is loaded at the current playback position.
onloadedmetadata
Occurs when the duration and dimensions of the media have been determined.
onloadstart
Occurs when Internet Explorer begins looking for media data.
onlostpointercapture
onmousedown
Fires when the user clicks the object with either mouse button.
onmouseenter
onmouseleave
onmousemove
Fires when the user moves the mouse over the object.
onmouseout
Fires when the user moves the mouse pointer outside the boundaries of the object.
onmouseover
Fires when the user moves the mouse pointer into the object.
onmouseup
Fires when the user releases a mouse button while the mouse is over the object.
onpaste
onpause
Occurs when playback is paused.
onplay
Occurs when the play method is requested.
onplaying
Occurs when the audio or video has started playing.
onpointercancel
onpointerdown
onpointerenter
onpointerleave
onpointermove
onpointerout
onpointerover
onpointerup
onprogress
Occurs to indicate progress while downloading media data.
onratechange
Occurs when the playback rate is increased or decreased.
onreset
Fires when the user resets a form.
onresize
onscroll
Fires when the user repositions the scroll box in the scroll bar on the object.
onscrollend
onsecuritypolicyviolation
| null
| ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any)
onseeked
Occurs when the seek operation ends.
onseeking
Occurs when the current playback position is moved.
onselect
Fires when the current selection changes.
onselectionchange
onselectstart
onslotchange
onstalled
Occurs when the download has stopped.
onsubmit
onsuspend
Occurs if the load operation has been intentionally halted.
ontimeupdate
Occurs to indicate the current playback position.
ontoggle
Optional
ontouchcancel
Optional
ontouchend
Optional
ontouchmove
Optional
ontouchstart
ontransitioncancel
ontransitionend
ontransitionrun
ontransitionstart
onvolumechange
Occurs when the volume is changed, or playback is muted or unmuted.
onwaiting
Occurs when playback stops because the next frame of a video resource is not available.
onwebkitanimationend
onwebkitanimationiteration
onwebkitanimationstart
onwebkittransitionend
onwheel
access Key
Readonly
access Key Label
autocapitalize
dir
draggable
hidden
inert
inner Text
lang
Readonly
offset Height
Readonly
offset Left
Readonly
offset Parent
Readonly
offset Top
Readonly
offset Width
outer Text
popover
spellcheck
title
translate
writing Suggestions
cols
Sets or retrieves the frame widths of the object.
rows
Sets or retrieves the frame heights of the object.
autofocus
Readonly
dataset
Optional
nonce
tab Index
Readonly
base URI
Returns node's node document's document base URL.
Readonly
child Nodes
Returns the children.
Readonly
first Child
Returns the first child.
Readonly
is Connected
Returns true if node is connected and false otherwise.
Readonly
last Child
Returns the last child.
Readonly
next Sibling
Returns the next sibling.
Readonly
node Name
Returns a string appropriate for the type of node.
Readonly
node Type
Returns the type of node.
node Value
Readonly
parent Element
Returns the parent element.
Readonly
parent Node
Returns the parent.
Readonly
previous Sibling
Returns the previous sibling.
text Content
Readonly
ELEMENT_ NODE
node is an element.
Readonly
ATTRIBUTE_ NODE
Readonly
TEXT_ NODE
node is a Text node.
Readonly
CDATA_ SECTION_ NODE
node is a CDATASection node.
Readonly
ENTITY_ REFERENCE_ NODE
Readonly
ENTITY_ NODE
Readonly
PROCESSING_ INSTRUCTION_ NODE
node is a ProcessingInstruction node.
Readonly
COMMENT_ NODE
node is a Comment node.
Readonly
DOCUMENT_ NODE
node is a document.
Readonly
DOCUMENT_ TYPE_ NODE
node is a doctype.
Readonly
DOCUMENT_ FRAGMENT_ NODE
node is a DocumentFragment node.
Readonly
NOTATION_ NODE
Readonly
DOCUMENT_ POSITION_ DISCONNECTED
Set when node and other are not in the same tree.
Readonly
DOCUMENT_ POSITION_ PRECEDING
Set when other is preceding node.
Readonly
DOCUMENT_ POSITION_ FOLLOWING
Set when other is following node.
Readonly
DOCUMENT_ POSITION_ CONTAINS
Set when other is an ancestor of node.
Readonly
DOCUMENT_ POSITION_ CONTAINED_ BY
Set when other is a descendant of node.
Readonly
DOCUMENT_ POSITION_ IMPLEMENTATION_ SPECIFIC
Readonly
next Element Sibling
Returns the first following sibling that is an element, and null otherwise.
Readonly
previous Element Sibling
Returns the first preceding sibling that is an element, and null otherwise.
Readonly
child Element Count
Readonly
children
Returns the child elements.
Readonly
first Element Child
Returns the first child that is an element, and null otherwise.
Readonly
last Element Child
Returns the last child that is an element, and null otherwise.
Readonly
assigned Slot
onafterprint
onbeforeprint
onbeforeunload
ongamepadconnected
ongamepaddisconnected
onhashchange
onlanguagechange
onmessage
onmessageerror
onoffline
ononline
onpagehide
onpagereveal
onpageshow
onpageswap
onpopstate
onrejectionhandled
onstorage
onunhandledrejection
onunload
Accessors
class List
Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
Returns DOMTokenList
- set classList(value: string): void
Parameters
value: string
Returns void
part
Returns DOMTokenList
- set part(value: string): void
Parameters
value: string
Returns void
style
Returns CSSStyleDeclaration
- set style(cssText: string): void
Parameters
cssText: string
Returns void
Methods
animate
animate(
keyframes: null | Keyframe[] | PropertyIndexedKeyframes,
options?: number | KeyframeAnimationOptions,
): Animation
Parameters
keyframes: null | Keyframe[] | PropertyIndexedKeyframes
Optional
options: number | KeyframeAnimationOptions
Returns Animation
get Animations
getAnimations(options?: GetAnimationsOptions): Animation[]
after
before
remove
remove(): void
Removes node.
Returns void
replace With
attach Shadow
attachShadow(init: ShadowRootInit): ShadowRoot
check Visibility
checkVisibility(options?: CheckVisibilityOptions): boolean
closest
closest<K extends keyof HTMLElementTagNameMap>(
selector: K,
): null | HTMLElementTagNameMap[K]
Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
Type Parameters
- K extends keyof HTMLElementTagNameMap
Parameters
selector: K
Returns null | HTMLElementTagNameMap[K]
closest<K extends keyof SVGElementTagNameMap>(
selector: K,
): null | SVGElementTagNameMap[K]
Type Parameters
- K extends keyof SVGElementTagNameMap
Parameters
selector: K
Returns null | SVGElementTagNameMap[K]
closest<K extends keyof MathMLElementTagNameMap>(
selector: K,
): null | MathMLElementTagNameMap[K]
Type Parameters
- K extends keyof MathMLElementTagNameMap
Parameters
selector: K
Returns null | MathMLElementTagNameMap[K]
computed Style Map
computedStyleMap(): StylePropertyMapReadOnly
get Attribute
getAttribute(qualifiedName: string): null | string
Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
Parameters
qualifiedName: string
Returns null | string
get Attribute NS
getAttributeNS(namespace: null | string, localName: string): null | string
Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
Parameters
namespace: null | string
localName: string
Returns null | string
get Attribute Names
getAttributeNames(): string[]
Returns the qualified names of all element's attributes. Can contain duplicates.
Returns string[]
get Attribute Node
getAttributeNode(qualifiedName: string): null | Attr
get Attribute Node NS
getAttributeNodeNS(namespace: null | string, localName: string): null | Attr
get Bounding Client Rect
get Client Rects
getClientRects(): DOMRectList
Returns DOMRectList
get Elements By Class Name
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>
Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.
Parameters
classNames: string
Returns HTMLCollectionOf<Element>
get Elements By Tag Name
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(
qualifiedName: K,
): HTMLCollectionOf<HTMLElementTagNameMap[K]>
Type Parameters
- K extends keyof HTMLElementTagNameMap
Parameters
qualifiedName: K
Returns HTMLCollectionOf<HTMLElementTagNameMap[K]>
getElementsByTagName<K extends keyof SVGElementTagNameMap>(
qualifiedName: K,
): HTMLCollectionOf<SVGElementTagNameMap[K]>
Type Parameters
- K extends keyof SVGElementTagNameMap
Parameters
qualifiedName: K
Returns HTMLCollectionOf<SVGElementTagNameMap[K]>
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(
qualifiedName: K,
): HTMLCollectionOf<MathMLElementTagNameMap[K]>
Type Parameters
- K extends keyof MathMLElementTagNameMap
Parameters
qualifiedName: K
Returns HTMLCollectionOf<MathMLElementTagNameMap[K]>
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(
qualifiedName: K,
): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
Type Parameters
- K extends keyof HTMLElementDeprecatedTagNameMap
Parameters
qualifiedName: K
Returns HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
get Elements By Tag Name NS
getElementsByTagNameNS(
namespaceURI: "http://www.w3.org/1999/xhtml",
localName: string,
): HTMLCollectionOf<HTMLElement>
Parameters
namespaceURI: "http://www.w3.org/1999/xhtml"
localName: string
Returns HTMLCollectionOf<HTMLElement>
getElementsByTagNameNS(
namespaceURI: "http://www.w3.org/2000/svg",
localName: string,
): HTMLCollectionOf<SVGElement>
Parameters
namespaceURI: "http://www.w3.org/2000/svg"
localName: string
Returns HTMLCollectionOf<SVGElement>
getElementsByTagNameNS(
namespaceURI: "http://www.w3.org/1998/Math/MathML",
localName: string,
): HTMLCollectionOf<MathMLElement>
Parameters
namespaceURI: "http://www.w3.org/1998/Math/MathML"
localName: string
Returns HTMLCollectionOf<MathMLElement>
get HTML
getHTML(options?: GetHTMLOptions): string
has Attribute
hasAttribute(qualifiedName: string): boolean
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
Parameters
qualifiedName: string
Returns boolean
has Attribute NS
hasAttributeNS(namespace: null | string, localName: string): boolean
Returns true if element has an attribute whose namespace is namespace and local name is localName.
Parameters
namespace: null | string
localName: string
Returns boolean
has Attributes
hasAttributes(): boolean
Returns true if element has attributes, and false otherwise.
Returns boolean
has Pointer Capture
hasPointerCapture(pointerId: number): boolean
insert Adjacent Element
insertAdjacentElement(where: InsertPosition, element: Element): null | Element
insert Adjacent HTML
insertAdjacentHTML(position: InsertPosition, string: string): void
insert Adjacent Text
insertAdjacentText(where: InsertPosition, data: string): void
matches
matches(selectors: string): boolean
Returns true if matching selectors against element's root yields element, and false otherwise.
Parameters
selectors: string
Returns boolean
release Pointer Capture
releasePointerCapture(pointerId: number): void
remove Attribute
removeAttribute(qualifiedName: string): void
Removes element's first attribute whose qualified name is qualifiedName.
Parameters
qualifiedName: string
Returns void
remove Attribute NS
removeAttributeNS(namespace: null | string, localName: string): void
Removes element's attribute whose namespace is namespace and local name is localName.
Parameters
namespace: null | string
localName: string
Returns void
remove Attribute Node
request Fullscreen
requestFullscreen(options?: FullscreenOptions): Promise<void>
Displays element fullscreen and resolves promise when done.
When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.
Parameters
Optional
options: FullscreenOptions
Returns Promise<void>
request Pointer Lock
requestPointerLock(options?: PointerLockOptions): Promise<void>
scroll
scroll(options?: ScrollToOptions): void
scroll(x: number, y: number): void
Parameters
x: number
y: number
Returns void
scroll By
scrollBy(options?: ScrollToOptions): void
scrollBy(x: number, y: number): void
Parameters
x: number
y: number
Returns void
scroll Into View
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void
scroll To
scrollTo(options?: ScrollToOptions): void
scrollTo(x: number, y: number): void
Parameters
x: number
y: number
Returns void
set Attribute
setAttribute(qualifiedName: string, value: string): void
Sets the value of element's first attribute whose qualified name is qualifiedName to value.
Parameters
qualifiedName: string
value: string
Returns void
set Attribute NS
setAttributeNS(
namespace: null | string,
qualifiedName: string,
value: string,
): void
Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
Parameters
namespace: null | string
qualifiedName: string
value: string
Returns void
set Attribute Node
set Attribute Node NS
set HTML Unsafe
setHTMLUnsafe(html: string): void
set Pointer Capture
setPointerCapture(pointerId: number): void
toggle Attribute
toggleAttribute(qualifiedName: string, force?: boolean): boolean
If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.
Returns true if qualifiedName is now present, and false otherwise.
Parameters
qualifiedName: string
Optional
force: boolean
Returns boolean
webkit Matches Selector
webkitMatchesSelector(selectors: string): boolean
Parameters
selectors: string
Returns boolean
dispatch Event
attach Internals
attachInternals(): ElementInternals
Returns ElementInternals
click
click(): void
Returns void
hide Popover
hidePopover(): void
Returns void
show Popover
showPopover(): void
Returns void
toggle Popover
togglePopover(options?: boolean): boolean
add Event Listener
addEventListener<K extends keyof HTMLFrameSetElementEventMap>(
type: K,
listener: (
this: HTMLFrameSetElement,
ev: HTMLFrameSetElementEventMap[K],
) => any,
options?: boolean | AddEventListenerOptions,
): void
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
Type Parameters
- K extends keyof HTMLFrameSetElementEventMap
Parameters
type: K
listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any
Optional
options: boolean | AddEventListenerOptions
Returns void
addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
Parameters
type: string
listener: EventListenerOrEventListenerObject
Optional
options: boolean | AddEventListenerOptions
Returns void
remove Event Listener
removeEventListener<K extends keyof HTMLFrameSetElementEventMap>(
type: K,
listener: (
this: HTMLFrameSetElement,
ev: HTMLFrameSetElementEventMap[K],
) => any,
options?: boolean | EventListenerOptions,
): void
Removes the event listener in target's event listener list with the same type, callback, and options.
Type Parameters
- K extends keyof HTMLFrameSetElementEventMap
Parameters
type: K
listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any
Optional
options: boolean | EventListenerOptions
Returns void
removeEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void
Removes the event listener in target's event listener list with the same type, callback, and options.
Parameters
type: string
listener: EventListenerOrEventListenerObject
Optional
options: boolean | EventListenerOptions
Returns void
blur
blur(): void
Returns void
focus
focus(options?: FocusOptions): void
append Child
clone Node
compare Document Position
contains
get Root Node
getRootNode(options?: GetRootNodeOptions): Node
has Child Nodes
hasChildNodes(): boolean
Returns whether node has children.
Returns boolean
insert Before
is Default Namespace
isDefaultNamespace(namespace: null | string): boolean
is Equal Node
is Same Node
isSameNode(otherNode: null | Node): boolean
lookup Namespace URI
lookupNamespaceURI(prefix: null | string): null | string
lookup Prefix
lookupPrefix(namespace: null | string): null | string
normalize
normalize(): void
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
Returns void
remove Child
replace Child
append
prepend
query Selector
querySelector<K extends keyof HTMLElementTagNameMap>(
selectors: K,
): null | HTMLElementTagNameMap[K]
Returns the first element that is a descendant of node that matches selectors.
Type Parameters
- K extends keyof HTMLElementTagNameMap
Parameters
selectors: K
Returns null | HTMLElementTagNameMap[K]
querySelector<K extends keyof SVGElementTagNameMap>(
selectors: K,
): null | SVGElementTagNameMap[K]
Type Parameters
- K extends keyof SVGElementTagNameMap
Parameters
selectors: K
Returns null | SVGElementTagNameMap[K]
querySelector<K extends keyof MathMLElementTagNameMap>(
selectors: K,
): null | MathMLElementTagNameMap[K]
Type Parameters
- K extends keyof MathMLElementTagNameMap
Parameters
selectors: K
Returns null | MathMLElementTagNameMap[K]
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(
selectors: K,
): null | HTMLElementDeprecatedTagNameMap[K]
Type Parameters
- K extends keyof HTMLElementDeprecatedTagNameMap
Parameters
selectors: K
Returns null | HTMLElementDeprecatedTagNameMap[K]
query Selector All
querySelectorAll<K extends keyof HTMLElementTagNameMap>(
selectors: K,
): NodeListOf<HTMLElementTagNameMap[K]>
Returns all element descendants of node that match selectors.
Type Parameters
- K extends keyof HTMLElementTagNameMap
Parameters
selectors: K
Returns NodeListOf<HTMLElementTagNameMap[K]>
querySelectorAll<K extends keyof SVGElementTagNameMap>(
selectors: K,
): NodeListOf<SVGElementTagNameMap[K]>
Type Parameters
- K extends keyof SVGElementTagNameMap
Parameters
selectors: K
Returns NodeListOf<SVGElementTagNameMap[K]>
querySelectorAll<K extends keyof MathMLElementTagNameMap>(
selectors: K,
): NodeListOf<MathMLElementTagNameMap[K]>
Type Parameters
- K extends keyof MathMLElementTagNameMap
Parameters
selectors: K
Returns NodeListOf<MathMLElementTagNameMap[K]>
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(
selectors: K,
): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
Type Parameters
- K extends keyof HTMLElementDeprecatedTagNameMap
Parameters
selectors: K
Provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating
Deprecated
MDN Reference