HTMLMenuElement class

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

HTMLMenuElement()
factory

Properties

accessKey String

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
accessKeyLabel String

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
no setter
addEventListener ↔ void Function(String, [Object?, Object?])

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
addEventListener → ({void Function<K$>(ElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
addEventListener → ({void Function<K$>(GlobalEventHandlersEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Overload accessor: $1, $2
no setter
addEventListener → ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on HTMLMenuElement, provided by the HTMLMenuElement$Typings extension

Overload accessor: $1, $2
no setter
addEventListener → ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on HTMLElement, provided by the HTMLElement$Typings extension

Overload accessor: $1, $2
no setter
after ↔ void Function([Iterable?])

Available on ChildNode, provided by the ChildNode$Typings extension

getter/setter pair
animate Animation Function([dynamic, Object?])

Available on Animatable, provided by the Animatable$Typings extension

getter/setter pair
append ↔ void Function([Iterable?])

Available on ParentNode, provided by the ParentNode$Typings extension

getter/setter pair
appendChild ↔ T Function<T extends Node>(T)

Available on Node, provided by the Node$Typings extension

getter/setter pair
ariaAtomic String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaAutoComplete String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaBusy String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaChecked String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaColCount String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaColIndex String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaColSpan String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaCurrent String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaDisabled String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaExpanded String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaHasPopup String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaHidden String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaInvalid String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

getter/setter pair
ariaKeyShortcuts String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaLabel String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaLevel String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaLive String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaModal String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaMultiLine String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaMultiSelectable String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaOrientation String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaPlaceholder String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaPosInSet String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaPressed String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaReadOnly String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaRequired String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaRoleDescription String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaRowCount String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaRowIndex String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaRowSpan String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaSelected String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaSetSize String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaSort String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaValueMax String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaValueMin String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaValueNow String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
ariaValueText String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

MDN Reference
getter/setter pair
assignedSlot HTMLSlotElement?

Available on Slottable, provided by the Slottable$Typings extension

MDN Reference
no setter
attachInternals ElementInternals Function()

Available on HTMLElement, provided by the HTMLElement$Typings extension

getter/setter pair
attachShadow ShadowRoot Function(ShadowRootInit)

Available on Element, provided by the Element$Typings extension

getter/setter pair
attributeNode num

Available on Node, provided by the Node$Typings extension

no setter
attributes NamedNodeMap

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
attributeStyleMap StylePropertyMap

Available on ElementCSSInlineStyle, provided by the ElementCSSInlineStyle$Typings extension

no setter
autocapitalize String

Available on HTMLElement, provided by the HTMLElement$Typings extension

getter/setter pair
autofocus bool

Available on HTMLOrSVGElement, provided by the HTMLOrSVGElement$Typings extension

getter/setter pair
baseURI String

Available on Node, provided by the Node$Typings extension

Returns node's node document's document base URL.
no setter
before ↔ void Function([Iterable?])

Available on ChildNode, provided by the ChildNode$Typings extension

getter/setter pair
blur ↔ void Function()

Available on HTMLOrSVGElement, provided by the HTMLOrSVGElement$Typings extension

getter/setter pair
cdataSectionNode num

Available on Node, provided by the Node$Typings extension

node is a CDATASection node.
no setter
checkVisibility bool Function([CheckVisibilityOptions?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
childElementCount num

Available on ParentNode, provided by the ParentNode$Typings extension

MDN Reference
no setter
childNodes NodeListOf<ChildNode>

Available on Node, provided by the Node$Typings extension

Returns the children.
no setter
children HTMLCollection

Available on ParentNode, provided by the ParentNode$Typings extension

Returns the child elements.
no setter
classList DOMTokenList

Available on Element, provided by the Element$Typings extension

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
no setter
className String

Available on Element, provided by the Element$Typings extension

Returns the value of element's class content attribute. Can be set to change it.
getter/setter pair
click ↔ void Function()

Available on HTMLElement, provided by the HTMLElement$Typings extension

getter/setter pair
clientHeight num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
clientLeft num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
clientTop num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
clientWidth num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
cloneNode Node Function([bool?])

Available on Node, provided by the Node$Typings extension

getter/setter pair
closest → ({K$? Function<K$ extends Element>(HTMLElementTagNameMap<K$> selector) $1, E? Function<E extends Element>(String selectors) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
commentNode num

Available on Node, provided by the Node$Typings extension

node is a Comment node.
no setter
compact bool

Available on HTMLMenuElement, provided by the HTMLMenuElement$Typings extension

@deprecated
getter/setter pair
compareDocumentPosition num Function(Node)

Available on Node, provided by the Node$Typings extension

getter/setter pair
computedStyleMap StylePropertyMapReadOnly Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
contains bool Function([Node?])

Available on Node, provided by the Node$Typings extension

getter/setter pair
contentEditable String

Available on ElementContentEditable, provided by the ElementContentEditable$Typings extension

MDN Reference
getter/setter pair
dataset Object

Available on HTMLOrSVGElement, provided by the HTMLOrSVGElement$Typings extension

MDN Reference
no setter
dir String

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
dispatchEvent bool Function(Event)

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
documentFragmentNode num

Available on Node, provided by the Node$Typings extension

node is a DocumentFragment node.
no setter
documentNode num

Available on Node, provided by the Node$Typings extension

node is a document.
no setter
documentPositionContainedBy num

Available on Node, provided by the Node$Typings extension

Set when other is a descendant of node.
no setter
documentPositionContains num

Available on Node, provided by the Node$Typings extension

Set when other is an ancestor of node.
no setter
documentPositionDisconnected num

Available on Node, provided by the Node$Typings extension

Set when node and other are not in the same tree.
no setter
documentPositionFollowing num

Available on Node, provided by the Node$Typings extension

Set when other is following node.
no setter
documentPositionImplementationSpecific num

Available on Node, provided by the Node$Typings extension

no setter
documentPositionPreceding num

Available on Node, provided by the Node$Typings extension

Set when other is preceding node.
no setter
documentTypeNode num

Available on Node, provided by the Node$Typings extension

node is a doctype.
no setter
draggable bool

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
elementNode num

Available on Node, provided by the Node$Typings extension

node is an element.
no setter
enterKeyHint String

Available on ElementContentEditable, provided by the ElementContentEditable$Typings extension

MDN Reference
getter/setter pair
entityNode num

Available on Node, provided by the Node$Typings extension

no setter
entityReferenceNode num

Available on Node, provided by the Node$Typings extension

no setter
firstChild ChildNode?

Available on Node, provided by the Node$Typings extension

Returns the first child.
no setter
firstElementChild Element?

Available on ParentNode, provided by the ParentNode$Typings extension

Returns the first child that is an element, and null otherwise.
no setter
focus ↔ void Function([FocusOptions?])

Available on HTMLOrSVGElement, provided by the HTMLOrSVGElement$Typings extension

getter/setter pair
getAnimations List<Animation> Function([GetAnimationsOptions?])

Available on Animatable, provided by the Animatable$Typings extension

getter/setter pair
getAttribute String? Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
getAttributeNames List<String> Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
getAttributeNode Attr? Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
getAttributeNodeNS Attr? Function(String, [String?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
getAttributeNS String? Function(String, [String?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
getBoundingClientRect DOMRect Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
getClientRects DOMRectList Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
getElementsByClassName HTMLCollectionOf<Element> Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
getElementsByTagName → ({HTMLCollectionOf<K$> Function<K$ extends Element>(HTMLElementTagNameMap<K$> qualifiedName) $1, HTMLCollectionOf<Element> Function(String qualifiedName) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
getElementsByTagNameNS → ({HTMLCollectionOf<HTMLElement> Function(String namespaceURI, String localName) $1, HTMLCollectionOf<SVGElement> Function(String namespaceURI, String localName) $2, HTMLCollectionOf<MathMLElement> Function(String namespaceURI, String localName) $3, HTMLCollectionOf<Element> Function(String localName, [String? namespace]) $4})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2, $3, $4
no setter
getRootNode Node Function([GetRootNodeOptions?])

Available on Node, provided by the Node$Typings extension

getter/setter pair
hasAttribute bool Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
hasAttributeNS bool Function(String, [String?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
hasAttributes bool Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
hasChildNodes bool Function()

Available on Node, provided by the Node$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasPointerCapture bool Function(num)

Available on Element, provided by the Element$Typings extension

getter/setter pair
hidden bool

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
hidePopover ↔ void Function()

Available on HTMLElement, provided by the HTMLElement$Typings extension

getter/setter pair
id String

Available on Element, provided by the Element$Typings extension

Returns the value of element's id content attribute. Can be set to change it.
getter/setter pair
inert bool

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
innerHTML String

Available on InnerHTML, provided by the InnerHTML$Typings extension

MDN Reference
getter/setter pair
innerText String

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
inputMode String

Available on ElementContentEditable, provided by the ElementContentEditable$Typings extension

MDN Reference
getter/setter pair
insertAdjacentElement Element? Function(InsertPosition, Element)

Available on Element, provided by the Element$Typings extension

getter/setter pair
insertAdjacentHTML ↔ void Function(InsertPosition, String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
insertAdjacentText ↔ void Function(InsertPosition, String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
insertBefore ↔ T Function<T extends Node>(T, [Node?])

Available on Node, provided by the Node$Typings extension

getter/setter pair
isConnected bool

Available on Node, provided by the Node$Typings extension

Returns true if node is connected and false otherwise.
no setter
isContentEditable bool

Available on ElementContentEditable, provided by the ElementContentEditable$Typings extension

MDN Reference
no setter
isDefaultNamespace bool Function([String?])

Available on Node, provided by the Node$Typings extension

getter/setter pair
isEqualNode bool Function([Node?])

Available on Node, provided by the Node$Typings extension

getter/setter pair
isSameNode bool Function([Node?])

Available on Node, provided by the Node$Typings extension

getter/setter pair
lang String

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
lastChild ChildNode?

Available on Node, provided by the Node$Typings extension

Returns the last child.
no setter
lastElementChild Element?

Available on ParentNode, provided by the ParentNode$Typings extension

Returns the last child that is an element, and null otherwise.
no setter
localName String

Available on Element, provided by the Element$Typings extension

Returns the local name.
no setter
lookupNamespaceURI String? Function([String?])

Available on Node, provided by the Node$Typings extension

getter/setter pair
lookupPrefix String? Function([String?])

Available on Node, provided by the Node$Typings extension

getter/setter pair
matches bool Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
namespaceURI String?

Available on Element, provided by the Element$Typings extension

Returns the namespace.
no setter
nextElementSibling Element?

Available on NonDocumentTypeChildNode, provided by the NonDocumentTypeChildNode$Typings extension

Returns the first following sibling that is an element, and null otherwise.
no setter
nextSibling ChildNode?

Available on Node, provided by the Node$Typings extension

Returns the next sibling.
no setter
nodeName String

Available on Node, provided by the Node$Typings extension

Returns a string appropriate for the type of node.
no setter
nodeType num

Available on Node, provided by the Node$Typings extension

Returns the type of node.
no setter
nodeValue String?

Available on Node, provided by the Node$Typings extension

MDN Reference
getter/setter pair
nonce String?

Available on HTMLOrSVGElement, provided by the HTMLOrSVGElement$Typings extension

MDN Reference
getter/setter pair
normalize ↔ void Function()

Available on Node, provided by the Node$Typings extension

getter/setter pair
notationNode num

Available on Node, provided by the Node$Typings extension

no setter
offsetHeight num

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
no setter
offsetLeft num

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
no setter
offsetParent Element?

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
no setter
offsetTop num

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
no setter
offsetWidth num

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
no setter
onabort ↔ dynamic Function(UIEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user aborts the download. @param ev The event.
getter/setter pair
onanimationcancel ↔ dynamic Function(AnimationEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onanimationend ↔ dynamic Function(AnimationEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onanimationiteration ↔ dynamic Function(AnimationEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onanimationstart ↔ dynamic Function(AnimationEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onauxclick ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onbeforeinput ↔ dynamic Function(InputEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onblur ↔ dynamic Function(FocusEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the object loses the input focus. @param ev The focus event.
getter/setter pair
oncancel ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
oncanplay ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when playback is possible, but would require further buffering. @param ev The event.
getter/setter pair
oncanplaythrough ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onchange ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the contents of the object or selection have changed. @param ev The event.
getter/setter pair
onclick ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user clicks the left mouse button on the object @param ev The mouse event.
getter/setter pair
onclose ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
oncontextmenu ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user clicks the right mouse button in the client area, opening the context menu. @param ev The mouse event.
getter/setter pair
oncopy ↔ dynamic Function(ClipboardEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
oncuechange ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
oncut ↔ dynamic Function(ClipboardEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
ondblclick ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user double-clicks the object. @param ev The mouse event.
getter/setter pair
ondrag ↔ dynamic Function(DragEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires on the source object continuously during a drag operation. @param ev The event.
getter/setter pair
ondragend ↔ dynamic Function(DragEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires on the source object when the user releases the mouse at the close of a drag operation. @param ev The event.
getter/setter pair
ondragenter ↔ dynamic Function(DragEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires on the target element when the user drags the object to a valid drop target. @param ev The drag event.
getter/setter pair
ondragleave ↔ dynamic Function(DragEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. @param ev The drag event.
getter/setter pair
ondragover ↔ dynamic Function(DragEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires on the target element continuously while the user drags the object over a valid drop target. @param ev The event.
getter/setter pair
ondragstart ↔ dynamic Function(DragEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires on the source object when the user starts to drag a text selection or selected object. @param ev The event.
getter/setter pair
ondrop ↔ dynamic Function(DragEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
ondurationchange ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the duration attribute is updated. @param ev The event.
getter/setter pair
onemptied ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the media element is reset to its initial state. @param ev The event.
getter/setter pair
onended ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the end of playback is reached. @param ev The event
getter/setter pair
onerror OnErrorEventHandler?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when an error occurs during object loading. @param ev The event.
getter/setter pair
onfocus ↔ dynamic Function(FocusEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the object receives focus. @param ev The event.
getter/setter pair
onformdata ↔ dynamic Function(FormDataEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onfullscreenchange ↔ dynamic Function(Event)?

Available on Element, provided by the Element$Typings extension

MDN Reference
getter/setter pair
onfullscreenerror ↔ dynamic Function(Event)?

Available on Element, provided by the Element$Typings extension

MDN Reference
getter/setter pair
ongotpointercapture ↔ dynamic Function(PointerEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
oninput ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
oninvalid ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onkeydown ↔ dynamic Function(KeyboardEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user presses a key. @param ev The keyboard event
getter/setter pair
onkeypress ↔ dynamic Function(KeyboardEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user presses an alphanumeric key. @param ev The event. @deprecated
getter/setter pair
onkeyup ↔ dynamic Function(KeyboardEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user releases a key. @param ev The keyboard event
getter/setter pair
onload ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires immediately after the browser loads the object. @param ev The event.
getter/setter pair
onloadeddata ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when media data is loaded at the current playback position. @param ev The event.
getter/setter pair
onloadedmetadata ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the duration and dimensions of the media have been determined. @param ev The event.
getter/setter pair
onloadstart ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when Internet Explorer begins looking for media data. @param ev The event.
getter/setter pair
onlostpointercapture ↔ dynamic Function(PointerEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onmousedown ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user clicks the object with either mouse button. @param ev The mouse event.
getter/setter pair
onmouseenter ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onmouseleave ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onmousemove ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user moves the mouse over the object. @param ev The mouse event.
getter/setter pair
onmouseout ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user moves the mouse pointer outside the boundaries of the object. @param ev The mouse event.
getter/setter pair
onmouseover ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user moves the mouse pointer into the object. @param ev The mouse event.
getter/setter pair
onmouseup ↔ dynamic Function(MouseEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user releases a mouse button while the mouse is over the object. @param ev The mouse event.
getter/setter pair
onpaste ↔ dynamic Function(ClipboardEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onpause ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when playback is paused. @param ev The event.
getter/setter pair
onplay ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the play method is requested. @param ev The event.
getter/setter pair
onplaying ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the audio or video has started playing. @param ev The event.
getter/setter pair
onpointercancel ↔ dynamic Function(PointerEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onpointerdown ↔ dynamic Function(PointerEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onpointerenter ↔ dynamic Function(PointerEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onpointerleave ↔ dynamic Function(PointerEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onpointermove ↔ dynamic Function(PointerEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onpointerout ↔ dynamic Function(PointerEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onpointerover ↔ dynamic Function(PointerEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onpointerup ↔ dynamic Function(PointerEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onprogress ↔ dynamic Function(ProgressEvent<EventTarget>)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs to indicate progress while downloading media data. @param ev The event.
getter/setter pair
onratechange ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the playback rate is increased or decreased. @param ev The event.
getter/setter pair
onreset ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user resets a form. @param ev The event.
getter/setter pair
onresize ↔ dynamic Function(UIEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onscroll ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the user repositions the scroll box in the scroll bar on the object. @param ev The event.
getter/setter pair
onscrollend ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onsecuritypolicyviolation ↔ dynamic Function(SecurityPolicyViolationEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onseeked ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the seek operation ends. @param ev The event.
getter/setter pair
onseeking ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the current playback position is moved. @param ev The event.
getter/setter pair
onselect ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Fires when the current selection changes. @param ev The event.
getter/setter pair
onselectionchange ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onselectstart ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onslotchange ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onstalled ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the download has stopped. @param ev The event.
getter/setter pair
onsubmit ↔ dynamic Function(SubmitEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onsuspend ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs if the load operation has been intentionally halted. @param ev The event.
getter/setter pair
ontimeupdate ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs to indicate the current playback position. @param ev The event.
getter/setter pair
ontoggle ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
ontouchcancel ↔ dynamic Function(TouchEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
ontouchend ↔ dynamic Function(TouchEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
ontouchmove ↔ dynamic Function(TouchEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
ontouchstart ↔ dynamic Function(TouchEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
ontransitioncancel ↔ dynamic Function(TransitionEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
ontransitionend ↔ dynamic Function(TransitionEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
ontransitionrun ↔ dynamic Function(TransitionEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
ontransitionstart ↔ dynamic Function(TransitionEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
onvolumechange ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when the volume is changed, or playback is muted or unmuted. @param ev The event.
getter/setter pair
onwaiting ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Occurs when playback stops because the next frame of a video resource is not available. @param ev The event.
getter/setter pair
onwebkitanimationend ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

@deprecated This is a legacy alias of onanimationend.
getter/setter pair
onwebkitanimationiteration ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

@deprecated This is a legacy alias of onanimationiteration.
getter/setter pair
onwebkitanimationstart ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

@deprecated This is a legacy alias of onanimationstart.
getter/setter pair
onwebkittransitionend ↔ dynamic Function(Event)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

@deprecated This is a legacy alias of ontransitionend.
getter/setter pair
onwheel ↔ dynamic Function(WheelEvent)?

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

MDN Reference
getter/setter pair
outerHTML String

Available on Element, provided by the Element$Typings extension

MDN Reference
getter/setter pair
outerText String

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
ownerDocument Document

Available on Element, provided by the Element$Typings extension

Returns the node document. Returns null for documents.
no setter
ownerDocument Document?

Available on Node, provided by the Node$Typings extension

Returns the node document. Returns null for documents.
no setter
parentElement HTMLElement?

Available on Node, provided by the Node$Typings extension

Returns the parent element.
no setter
parentNode ParentNode?

Available on Node, provided by the Node$Typings extension

Returns the parent.
no setter
part DOMTokenList

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
popover String?

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
prefix String?

Available on Element, provided by the Element$Typings extension

Returns the namespace prefix.
no setter
prepend ↔ void Function([Iterable?])

Available on ParentNode, provided by the ParentNode$Typings extension

getter/setter pair
previousElementSibling Element?

Available on NonDocumentTypeChildNode, provided by the NonDocumentTypeChildNode$Typings extension

Returns the first preceding sibling that is an element, and null otherwise.
no setter
previousSibling ChildNode?

Available on Node, provided by the Node$Typings extension

Returns the previous sibling.
no setter
processingInstructionNode num

Available on Node, provided by the Node$Typings extension

node is a ProcessingInstruction node.
no setter
querySelector → ({K$? Function<K$ extends Element>(HTMLElementTagNameMap<K$> selectors) $1, E? Function<E extends Element>(String selectors) $2})

Available on ParentNode, provided by the ParentNode$Typings extension

Overload accessor: $1, $2
no setter
querySelectorAll → ({NodeListOf<K$> Function<K$ extends Element>(HTMLElementTagNameMap<K$> selectors) $1, NodeListOf<E> Function<E extends Element>(String selectors) $2})

Available on ParentNode, provided by the ParentNode$Typings extension

Overload accessor: $1, $2
no setter
releasePointerCapture ↔ void Function(num)

Available on Element, provided by the Element$Typings extension

getter/setter pair
remove ↔ void Function()

Available on ChildNode, provided by the ChildNode$Typings extension

getter/setter pair
removeAttribute ↔ void Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
removeAttributeNode Attr Function(Attr)

Available on Element, provided by the Element$Typings extension

getter/setter pair
removeAttributeNS ↔ void Function(String, [String?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
removeChild ↔ T Function<T extends Node>(T)

Available on Node, provided by the Node$Typings extension

getter/setter pair
removeEventListener → ({void Function<K$>(GlobalEventHandlersEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on GlobalEventHandlers, provided by the GlobalEventHandlers$Typings extension

Overload accessor: $1, $2
no setter
removeEventListener → ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on HTMLElement, provided by the HTMLElement$Typings extension

Overload accessor: $1, $2
no setter
removeEventListener ↔ void Function(String, [Object?, Object?])

Available on EventTarget, provided by the EventTarget$Typings extension

getter/setter pair
removeEventListener → ({void Function<K$>(ElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
removeEventListener → ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on HTMLMenuElement, provided by the HTMLMenuElement$Typings extension

Overload accessor: $1, $2
no setter
replaceChild ↔ T Function<T extends Node>(Node, T)

Available on Node, provided by the Node$Typings extension

getter/setter pair
replaceChildren ↔ void Function([Iterable?])

Available on ParentNode, provided by the ParentNode$Typings extension

getter/setter pair
replaceWith ↔ void Function([Iterable?])

Available on ChildNode, provided by the ChildNode$Typings extension

getter/setter pair
requestFullscreen Future<void> Function([FullscreenOptions?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
requestPointerLock ↔ void Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
role String?

Available on ARIAMixin, provided by the ARIAMixin$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scroll → ({void Function([ScrollToOptions? options]) $1, void Function(num x, num y) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
scrollBy → ({void Function([ScrollToOptions? options]) $1, void Function(num x, num y) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
scrollHeight num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
scrollIntoView ↔ void Function([Object?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
scrollLeft num

Available on Element, provided by the Element$Typings extension

MDN Reference
getter/setter pair
scrollTo → ({void Function([ScrollToOptions? options]) $1, void Function(num x, num y) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
scrollTop num

Available on Element, provided by the Element$Typings extension

MDN Reference
getter/setter pair
scrollWidth num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
setAttribute ↔ void Function(String, String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
setAttributeNode Attr? Function(Attr)

Available on Element, provided by the Element$Typings extension

getter/setter pair
setAttributeNodeNS Attr? Function(Attr)

Available on Element, provided by the Element$Typings extension

getter/setter pair
setAttributeNS ↔ void Function(String, String, [String?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
setPointerCapture ↔ void Function(num)

Available on Element, provided by the Element$Typings extension

getter/setter pair
shadowRoot ShadowRoot?

Available on Element, provided by the Element$Typings extension

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
no setter
showPopover ↔ void Function()

Available on HTMLElement, provided by the HTMLElement$Typings extension

getter/setter pair
slot String

Available on Element, provided by the Element$Typings extension

Returns the value of element's slot content attribute. Can be set to change it.
getter/setter pair
spellcheck bool

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
style CSSStyleDeclaration

Available on ElementCSSInlineStyle, provided by the ElementCSSInlineStyle$Typings extension

MDN Reference
no setter
tabIndex num

Available on HTMLOrSVGElement, provided by the HTMLOrSVGElement$Typings extension

MDN Reference
getter/setter pair
tagName String

Available on Element, provided by the Element$Typings extension

Returns the HTML-uppercased qualified name.
no setter
textContent String?

Available on Node, provided by the Node$Typings extension

MDN Reference
getter/setter pair
textNode num

Available on Node, provided by the Node$Typings extension

node is a Text node.
no setter
title String

Available on HTMLElement, provided by the HTMLElement$Typings extension

MDN Reference
getter/setter pair
toggleAttribute bool Function(String, [bool?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
togglePopover ↔ void Function([bool?])

Available on HTMLElement, provided by the HTMLElement$Typings extension

getter/setter pair
translate bool

Available on HTMLElement, provided by the HTMLElement$Typings extension

getter/setter pair
webkitMatchesSelector bool Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited