HTMLObjectElement extension type

The HTMLObjectElement interface provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of object element, representing external resources.

on
Implemented types
Available extensions

Constructors

HTMLObjectElement()
Creates an HTMLObjectElement using the tag 'object'.

Properties

accessKey String
getter/setter pairinherited
accessKeyLabel String
no setterinherited
align String
getter/setter pair
archive String
getter/setter pair
assignedSlot HTMLSlotElement?
no setterinherited
attributes NamedNodeMap
no setterinherited
attributeStyleMap StylePropertyMap
no setterinherited
autocapitalize String
getter/setter pairinherited
autofocus bool
getter/setter pairinherited
baseURI String
no setterinherited
border String
getter/setter pair
childElementCount int
no setterinherited
childNodes NodeList
no setterinherited
children HTMLCollection
no setterinherited
classList DOMTokenList
no setterinherited
className String
getter/setter pairinherited
clientHeight int
no setterinherited
clientLeft int
no setterinherited
clientTop int
no setterinherited
clientWidth int
no setterinherited
code String
getter/setter pair
codeBase String
getter/setter pair
codeType String
getter/setter pair
contentDocument Document?
no setter
contentEditable String
getter/setter pairinherited
contentWindow Window?
no setter
data String
getter/setter pair
dataset DOMStringMap
no setterinherited
declare bool
getter/setter pair
dir String
getter/setter pairinherited
draggable bool
getter/setter pairinherited
enterKeyHint String
getter/setter pairinherited
firstChild Node?
no setterinherited
firstElementChild Element?
no setterinherited
form HTMLFormElement?
no setter
hashCode int
The hash code for this object.
no setterinherited
height String
getter/setter pair
hidden JSAny?
getter/setter pairinherited
hspace int
getter/setter pair
id String
getter/setter pairinherited
inert bool
getter/setter pairinherited
innerHTML String
getter/setter pairinherited
innerText String
getter/setter pairinherited
inputMode String
getter/setter pairinherited
isConnected bool
no setterinherited
isContentEditable bool
no setterinherited
isDefinedAndNotNull bool

Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension

no setter
isNull bool

Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension

Whether this value corresponds to JavaScript null.
no setter
isTruthy JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of !!this in JavaScript.
no setter
isUndefined bool

Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension

Whether this value corresponds to JavaScript undefined.
no setter
isUndefinedOrNull bool

Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension

no setter
lang String
getter/setter pairinherited
lastChild Node?
no setterinherited
lastElementChild Element?
no setterinherited
localName String
no setterinherited
name String
getter/setter pair
namespaceURI String?
no setterinherited
nextElementSibling Element?
no setterinherited
nextSibling Node?
no setterinherited
nodeName String
no setterinherited
nodeType int
no setterinherited
nodeValue String?
getter/setter pairinherited
nonce String
getter/setter pairinherited
not JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of !this in JavaScript.
no setter
offsetHeight int
no setterinherited
offsetLeft int
no setterinherited
offsetParent Element?
no setterinherited
offsetTop int
no setterinherited
offsetWidth int
no setterinherited
onAbort → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onabort EventHandler?
getter/setter pairinherited
onanimationcancel EventHandler?
getter/setter pairinherited
onanimationend EventHandler?
getter/setter pairinherited
onanimationiteration EventHandler?
getter/setter pairinherited
onanimationstart EventHandler?
getter/setter pairinherited
onauxclick EventHandler?
getter/setter pairinherited
onBeforeCopy → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onBeforeCut → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onbeforeinput EventHandler?
getter/setter pairinherited
onbeforematch EventHandler?
getter/setter pairinherited
onBeforePaste → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onbeforetoggle EventHandler?
getter/setter pairinherited
onblur EventHandler?
getter/setter pairinherited
onBlur → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
oncancel EventHandler?
getter/setter pairinherited
onCanPlay → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
oncanplay EventHandler?
getter/setter pairinherited
onCanPlayThrough → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
oncanplaythrough EventHandler?
getter/setter pairinherited
onChange → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onchange EventHandler?
getter/setter pairinherited
onclick EventHandler?
getter/setter pairinherited
onClick → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onclose EventHandler?
getter/setter pairinherited
oncontextlost EventHandler?
getter/setter pairinherited
oncontextmenu EventHandler?
getter/setter pairinherited
onContextMenu → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
oncontextrestored EventHandler?
getter/setter pairinherited
onCopy → ElementStream<ClipboardEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
oncopy EventHandler?
getter/setter pairinherited
oncuechange EventHandler?
getter/setter pairinherited
onCut → ElementStream<ClipboardEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
oncut EventHandler?
getter/setter pairinherited
ondblclick EventHandler?
getter/setter pairinherited
onDoubleClick → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onDrag → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
ondrag EventHandler?
getter/setter pairinherited
onDragEnd → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
ondragend EventHandler?
getter/setter pairinherited
ondragenter EventHandler?
getter/setter pairinherited
onDragEnter → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onDragLeave → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
ondragleave EventHandler?
getter/setter pairinherited
onDragOver → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
ondragover EventHandler?
getter/setter pairinherited
onDragStart → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
ondragstart EventHandler?
getter/setter pairinherited
onDrop → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
ondrop EventHandler?
getter/setter pairinherited
ondurationchange EventHandler?
getter/setter pairinherited
onDurationChange → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onemptied EventHandler?
getter/setter pairinherited
onEmptied → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onended EventHandler?
getter/setter pairinherited
onEnded → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onError → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onerror OnErrorEventHandler?
getter/setter pairinherited
onFocus → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onfocus EventHandler?
getter/setter pairinherited
onformdata EventHandler?
getter/setter pairinherited
onFullscreenChange → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onFullscreenError → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
ongotpointercapture EventHandler?
getter/setter pairinherited
onInput → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
oninput EventHandler?
getter/setter pairinherited
onInvalid → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
oninvalid EventHandler?
getter/setter pairinherited
onKeyDown → ElementStream<KeyboardEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onkeydown EventHandler?
getter/setter pairinherited
onKeyPress → ElementStream<KeyboardEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onkeypress EventHandler?
getter/setter pairinherited
onkeyup EventHandler?
getter/setter pairinherited
onKeyUp → ElementStream<KeyboardEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onLoad → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onload EventHandler?
getter/setter pairinherited
onLoadedData → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onloadeddata EventHandler?
getter/setter pairinherited
onLoadedMetadata → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onloadedmetadata EventHandler?
getter/setter pairinherited
onloadstart EventHandler?
getter/setter pairinherited
onlostpointercapture EventHandler?
getter/setter pairinherited
onMouseDown → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onmousedown EventHandler?
getter/setter pairinherited
onMouseEnter → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onmouseenter EventHandler?
getter/setter pairinherited
onMouseLeave → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onmouseleave EventHandler?
getter/setter pairinherited
onMouseMove → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onmousemove EventHandler?
getter/setter pairinherited
onmouseout EventHandler?
getter/setter pairinherited
onMouseOut → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onmouseover EventHandler?
getter/setter pairinherited
onMouseOver → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onmouseup EventHandler?
getter/setter pairinherited
onMouseUp → ElementStream<MouseEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onMouseWheel → ElementStream<WheelEvent>

Available on Element, provided by the ElementCustomEvents extension

no setter
onPaste → ElementStream<ClipboardEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onpaste EventHandler?
getter/setter pairinherited
onPause → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onpause EventHandler?
getter/setter pairinherited
onPlay → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onplay EventHandler?
getter/setter pairinherited
onPlaying → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onplaying EventHandler?
getter/setter pairinherited
onpointercancel EventHandler?
getter/setter pairinherited
onpointerdown EventHandler?
getter/setter pairinherited
onpointerenter EventHandler?
getter/setter pairinherited
onpointerleave EventHandler?
getter/setter pairinherited
onpointermove EventHandler?
getter/setter pairinherited
onpointerout EventHandler?
getter/setter pairinherited
onpointerover EventHandler?
getter/setter pairinherited
onpointerrawupdate EventHandler?
getter/setter pairinherited
onpointerup EventHandler?
getter/setter pairinherited
onprogress EventHandler?
getter/setter pairinherited
onRateChange → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onratechange EventHandler?
getter/setter pairinherited
onreset EventHandler?
getter/setter pairinherited
onReset → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onresize EventHandler?
getter/setter pairinherited
onResize → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onScroll → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onscroll EventHandler?
getter/setter pairinherited
onscrollend EventHandler?
getter/setter pairinherited
onSearch → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onsecuritypolicyviolation EventHandler?
getter/setter pairinherited
onseeked EventHandler?
getter/setter pairinherited
onSeeked → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onseeking EventHandler?
getter/setter pairinherited
onSeeking → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onselect EventHandler?
getter/setter pairinherited
onSelect → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onselectionchange EventHandler?
getter/setter pairinherited
onselectstart EventHandler?
getter/setter pairinherited
onSelectStart → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onslotchange EventHandler?
getter/setter pairinherited
onstalled EventHandler?
getter/setter pairinherited
onStalled → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onsubmit EventHandler?
getter/setter pairinherited
onSubmit → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onsuspend EventHandler?
getter/setter pairinherited
onSuspend → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onTimeUpdate → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
ontimeupdate EventHandler?
getter/setter pairinherited
ontoggle EventHandler?
getter/setter pairinherited
ontouchcancel EventHandler?
getter/setter pairinherited
onTouchCancel → ElementStream<TouchEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onTouchEnd → ElementStream<TouchEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
ontouchend EventHandler?
getter/setter pairinherited
onTouchEnter → ElementStream<TouchEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onTouchLeave → ElementStream<TouchEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onTouchMove → ElementStream<TouchEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
ontouchmove EventHandler?
getter/setter pairinherited
onTouchStart → ElementStream<TouchEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
ontouchstart EventHandler?
getter/setter pairinherited
ontransitioncancel EventHandler?
getter/setter pairinherited
ontransitionend EventHandler?
getter/setter pairinherited
onTransitionEnd → ElementStream<TransitionEvent>

Available on Element, provided by the ElementCustomEvents extension

no setter
ontransitionrun EventHandler?
getter/setter pairinherited
ontransitionstart EventHandler?
getter/setter pairinherited
onVolumeChange → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onvolumechange EventHandler?
getter/setter pairinherited
onWaiting → ElementStream<Event>

Available on Element, provided by the ElementEventGetters extension

no setter
onwaiting EventHandler?
getter/setter pairinherited
onWebGlContextLost → ElementStream<WebGLContextEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onWebGlContextRestored → ElementStream<WebGLContextEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
onwebkitanimationend EventHandler?
getter/setter pairinherited
onwebkitanimationiteration EventHandler?
getter/setter pairinherited
onwebkitanimationstart EventHandler?
getter/setter pairinherited
onwebkittransitionend EventHandler?
getter/setter pairinherited
onwheel EventHandler?
getter/setter pairinherited
onWheel → ElementStream<WheelEvent>

Available on Element, provided by the ElementEventGetters extension

no setter
outerHTML String
getter/setter pairinherited
outerText String
getter/setter pairinherited
ownerDocument Document?
no setterinherited
parentElement Element?
no setterinherited
parentNode Node?
no setterinherited
popover String?
getter/setter pairinherited
prefix String?
no setterinherited
previousElementSibling Element?
no setterinherited
previousSibling Node?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollHeight int
no setterinherited
scrollLeft num
getter/setter pairinherited
scrollTop num
getter/setter pairinherited
scrollWidth int
no setterinherited
shadowRoot ShadowRoot?
no setterinherited
slot String
getter/setter pairinherited
spellcheck bool
getter/setter pairinherited
standby String
getter/setter pair
style CSSStyleDeclaration
no setterinherited
tabIndex int
getter/setter pairinherited
tagName String
no setterinherited
text String

Available on Node, provided by the NodeGlue extension

no getter
textContent String?
getter/setter pairinherited
title String
getter/setter pairinherited
translate bool
getter/setter pairinherited
type String
getter/setter pair
useMap String
getter/setter pair
validationMessage String
no setter
validity ValidityState
no setter
vspace int
getter/setter pair
width String
getter/setter pair
willValidate bool
no setter

Methods

add(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this + any in JavaScript.
addEventListener(String type, EventListener? callback, [JSAny options]) → void
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
inherited
after(JSAny nodes) → void
The Element.after() method inserts a set of Node or string objects in the children list of the Element's parent, just after the Element. String objects are inserted as equivalent Text nodes.
inherited
and(JSAny? any) JSAny?

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this && any in JavaScript.
animate(JSObject? keyframes, [JSAny options]) Animation
The Element interface's animate() method is a shortcut method which creates a new Animation, applies it to the element, then plays the animation. It returns the created Animation object instance.
inherited
append(Node other) Node

Available on Node, provided by the NodeGlue extension

append(JSAny nodes) → void
The Element.append() method inserts a set of Node objects or string objects after the last child of the Element. String objects are inserted as equivalent Text nodes.
inherited
appendChild(Node node) Node
The appendChild() method of the Node interface adds a node to the end of the list of children of a specified parent node.
inherited
attachInternals() ElementInternals
The HTMLElement.attachInternals() method returns an ElementInternals object. This method allows a custom element to participate in HTML forms. The ElementInternals interface provides utilities for working with these elements in the same way you would work with any standard HTML form element, and also exposes the Accessibility Object Model to the element.
inherited
attachShadow(ShadowRootInit init) ShadowRoot
The Element.attachShadow() method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.
inherited
before(JSAny nodes) → void
The Element.before() method inserts a set of Node or string objects in the children list of this Element's parent, just before this Element. String objects are inserted as equivalent Text nodes.
inherited
blur() → void
The HTMLElement.blur() method removes keyboard focus from the current element.
inherited
callMethod<R extends JSAny?>(JSAny method, [JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) → R

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Calls method on this JSObject with up to four arguments.
callMethodVarArgs<R extends JSAny?>(JSAny method, [List<JSAny?>? arguments]) → R

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Calls method on this JSObject with a variable number of arguments.
checkValidity() bool
The checkValidity() method of the HTMLObjectElement interface returns a boolean value that always is true, because object objects are never candidates for constraint validation.
checkVisibility([CheckVisibilityOptions options]) bool
The checkVisibility() method of the Element interface checks whether the element is visible.
inherited
click() → void
The HTMLElement.click() method simulates a mouse click on an element.
inherited
clone(bool? deep) Node

Available on Node, provided by the NodeGlue extension

cloneNode([bool deep]) Node
The cloneNode() method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in a node is also cloned or not.
inherited
closest(String selectors) Element?
The closest() method of the Element interface traverses the element and its parents (heading toward the document root) until it finds a node that matches the specified CSS selector.
inherited
compareDocumentPosition(Node other) int
The compareDocumentPosition() method of the Node interface reports the position of its argument node relative to the node on which it is called.
inherited
computedStyleMap() StylePropertyMapReadOnly
The computedStyleMap() method of the Element interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
inherited
contains(Node? other) bool
The contains() method of the Node interface returns a boolean value indicating whether a node is a descendant of a given node, that is the node itself, one of its direct children (Node.childNodes), one of the children's direct children, and so on.
inherited
convertPointFromNode(DOMPointInit point, GeometryNode from, [ConvertCoordinateOptions options]) DOMPoint
inherited
convertQuadFromNode(DOMQuadInit quad, GeometryNode from, [ConvertCoordinateOptions options]) DOMQuad
inherited
convertRectFromNode(DOMRectReadOnly rect, GeometryNode from, [ConvertCoordinateOptions options]) DOMQuad
inherited
dartify() Object?

Available on JSAny?, provided by the JSAnyUtilityExtension extension

Converts a JavaScript value to the Dart equivalent if possible.
delete(JSAny property) JSBoolean

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Deletes the property with key property from this JSObject.
dispatchEvent(Event event) bool
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
inherited
divide(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this / any in JavaScript.
equals(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this == any in JavaScript.
exponentiate(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this ** any in JavaScript.
focus([FocusOptions options]) → void
The HTMLElement.focus() method sets focus on the specified element, if it can be focused. The focused element is the element that will receive keyboard and similar events by default.
inherited
getAnimations([GetAnimationsOptions options]) JSArray<Animation>
The getAnimations() method of the Element interface (specified on the Animatable mixin) returns an array of all Animation objects affecting this element or which are scheduled to do so in future. It can optionally return Animation objects for descendant elements too.
inherited
getAttribute(String qualifiedName) String?
The getAttribute() method of the Element interface returns the value of a specified attribute on the element.
inherited
getAttributeNames() JSArray<JSString>
The getAttributeNames() method of the Element interface returns the attribute names of the element as an Array of strings. If the element has no attributes it returns an empty array.
inherited
getAttributeNode(String qualifiedName) Attr?
Returns the specified attribute of the specified element, as an Attr node.
inherited
getAttributeNodeNS(String? namespace, String localName) Attr?
The getAttributeNodeNS() method of the Element interface returns the namespaced Attr node of an element.
inherited
getAttributeNS(String? namespace, String localName) String?
The getAttributeNS() method of the Element interface returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either be null or "" (the empty string); see Notes for details.
inherited
getBoundingClientRect() DOMRect
The Element.getBoundingClientRect() method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.
inherited
getBoxQuads([BoxQuadOptions options]) JSArray<DOMQuad>
inherited
getClientRects() DOMRectList
The getClientRects() method of the Element interface returns a collection of DOMRect objects that indicate the bounding rectangles for each CSS border box in a client.
inherited
getElementsByClassName(String classNames) HTMLCollection
The Element method getElementsByClassName() returns a live HTMLCollection which contains every descendant element which has the specified class name or names.
inherited
getElementsByTagName(String qualifiedName) HTMLCollection
The Element.getElementsByTagName() method returns a live HTMLCollection of elements with the given tag name.
inherited
getElementsByTagNameNS(String? namespace, String localName) HTMLCollection
The Element.getElementsByTagNameNS() method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is similar to Document.getElementsByTagNameNS, except that its search is restricted to descendants of the specified element.
inherited
getProperty<R extends JSAny?>(JSAny property) → R

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

The value of the property key property of this JSObject.
getRootNode([GetRootNodeOptions options]) Node
The getRootNode() method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available.
inherited
getSVGDocument() Document?
greaterThan(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this > any in JavaScript.
greaterThanOrEqualTo(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this >= any in JavaScript.
has(String property) bool

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Shorthand helper for hasProperty to check whether this JSObject contains the property key property, but takes and returns a Dart value.
hasAttribute(String qualifiedName) bool
The Element.hasAttribute() method returns a Boolean value indicating whether the specified element has the specified attribute or not.
inherited
hasAttributeNS(String? namespace, String localName) bool
The hasAttributeNS() method of the Element interface returns a boolean value indicating whether the current element has the specified attribute with the specified namespace.
inherited
hasAttributes() bool
The hasAttributes() method of the Element interface returns a boolean value indicating whether the current element has any attributes or not.
inherited
hasChildNodes() bool
The hasChildNodes() method of the Node interface returns a boolean value indicating whether the given Node has child nodes or not.
inherited
hasPointerCapture(int pointerId) bool
The hasPointerCapture() method of the Element interface checks whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
inherited
hasProperty(JSAny property) JSBoolean

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Whether or not this JSObject contains the property key property.
hidePopover() → void
The hidePopover() method of the HTMLElement interface hides a popover element (i.e. one that has a valid popover attribute) by removing it from the and styling it with display: none.
inherited
insertAdjacentElement(String where, Element element) Element?
The insertAdjacentElement() method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.
inherited
insertAdjacentHTML(String position, String text) → void
The insertAdjacentHTML() method of the Element interface parses the specified text as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position.
inherited
insertAdjacentText(String where, String data) → void
The insertAdjacentText() method of the Element interface, given a relative position and a string, inserts a new text node at the given position relative to the element it is called from.
inherited
insertBefore(Node node, Node? child) Node
The insertBefore() method of the Node interface inserts a node before a reference node as a child of a specified parent node.
inherited
instanceof(JSFunction constructor) bool

Available on JSAny?, provided by the JSAnyUtilityExtension extension

Whether this JSAny? is an instanceof constructor.
instanceOfString(String constructorName) bool

Available on JSAny?, provided by the JSAnyUtilityExtension extension

Whether this JSAny? is an instanceof the constructor that is defined by constructorName, which is looked up in the globalContext.
isA<T extends JSAny?>() bool

Available on JSAny?, provided by the JSAnyUtilityExtension extension

Whether this JSAny? is an instance of the JavaScript type that is declared by T.
isDefaultNamespace(String? namespace) bool
The isDefaultNamespace() method of the Node interface accepts a namespace URI as an argument. It returns a boolean value that is true if the namespace is the default namespace on the given node and false if not.
inherited
isEqualNode(Node? otherNode) bool
The isEqualNode() method of the Node interface tests whether two nodes are equal. Two nodes are equal when they have the same type, defining characteristics (for elements, this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the nodes.
inherited
isSameNode(Node? otherNode) bool
The isSameNode() method of the Node interface is a legacy alias the for the === strict equality operator. That is, it tests whether two nodes are the same (in other words, whether they reference the same object).
inherited
lessThan(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this < any in JavaScript.
lessThanOrEqualTo(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this <= any in JavaScript.
lookupNamespaceURI(String? prefix) String?
The lookupNamespaceURI() method of the Node interface takes a prefix as parameter and returns the namespace URI associated with it on the given node if found (and null if not).
inherited
lookupPrefix(String? namespace) String?
The lookupPrefix() method of the Node interface returns a string containing the prefix for a given namespace URI, if present, and null if not. When multiple prefixes are possible, the first prefix is returned.
inherited
matches(String selectors) bool
The matches() method of the Element interface tests whether the element would be selected by the specified CSS selector.
inherited
modulo(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this % any in JavaScript.
multiply(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this * any in JavaScript.
normalize() → void
The normalize() method of the Node interface puts the specified node and all of its sub-tree into a normalized form. In a normalized sub-tree, no text nodes in the sub-tree are empty and there are no adjacent text nodes.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEquals(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this != any in JavaScript.
or(JSAny? any) JSAny?

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this || any in JavaScript.
prepend(JSAny nodes) → void
The Element.prepend() method inserts a set of Node objects or string objects before the first child of the Element. String objects are inserted as equivalent Text nodes.
inherited
querySelector(String selectors) Element?
The querySelector() method of the Element interface returns the first element that is a descendant of the element on which it is invoked that matches the specified group of selectors.
inherited
querySelectorAll(String selectors) NodeList
The Element method querySelectorAll() returns a static (not live) NodeList representing a list of elements matching the specified group of selectors which are descendants of the element on which the method was called.
inherited
releasePointerCapture(int pointerId) → void
The releasePointerCapture() method of the Element interface releases (stops) pointer capture that was previously set for a specific (PointerEvent) pointer.
inherited
remove() → void
The Element.remove() method removes the element from the DOM.
inherited
removeAttribute(String qualifiedName) → void
The Element method removeAttribute() removes the attribute with the specified name from the element.
inherited
removeAttributeNode(Attr attr) Attr
The removeAttributeNode() method of the Element interface removes the specified Attr node from the element.
inherited
removeAttributeNS(String? namespace, String localName) → void
The removeAttributeNS() method of the Element interface removes the specified attribute with the specified namespace from an element.
inherited
removeChild(Node child) Node
The removeChild() method of the Node interface removes a child node from the DOM and returns the removed node.
inherited
removeEventListener(String type, EventListener? callback, [JSAny options]) → void
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.
inherited
replaceChild(Node node, Node child) Node
The replaceChild() method of the Node interface replaces a child node within the given (parent) node.
inherited
replaceChildren(JSAny nodes) → void
The Element.replaceChildren() method replaces the existing children of a Node with a specified new set of children. These can be string or Node objects.
inherited
replaceWith(JSAny nodes) → void
The Element.replaceWith() method replaces this Element in the children list of its parent with a set of Node or string objects. String objects are inserted as equivalent Text nodes.
inherited
reportValidity() bool
scroll([JSAny optionsOrX, num y]) → void
The scroll() method of the Element interface scrolls the element to a particular set of coordinates inside a given element.
inherited
scrollBy([JSAny optionsOrX, num y]) → void
The scrollBy() method of the Element interface scrolls an element by the given amount.
inherited
scrollIntoView([JSAny arg]) → void
The Element interface's scrollIntoView() method scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.
inherited
scrollTo([JSAny optionsOrX, num y]) → void
The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.
inherited
setAttribute(String qualifiedName, String value) → void
Sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.
inherited
setAttributeNode(Attr attr) Attr?
The setAttributeNode() method of the Element interface adds a new Attr node to the specified element.
inherited
setAttributeNodeNS(Attr attr) Attr?
The setAttributeNodeNS() method of the Element interface adds a new namespaced Attr node to an element.
inherited
setAttributeNS(String? namespace, String qualifiedName, String value) → void
setAttributeNS adds a new attribute or changes the value of an attribute with the given namespace and name.
inherited
setCustomValidity(String error) → void
The setCustomValidity() method of the HTMLObjectElement interface sets a custom validity message for the element.
setHTMLUnsafe(String html) → void
inherited
setPointerCapture(int pointerId) → void
The setPointerCapture() method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture or the Element/pointerup_event event is fired).
inherited
setProperty(JSAny property, JSAny? value) → void

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Write the value of property key property of this JSObject.
showPopover() → void
The showPopover() method of the HTMLElement interface shows a Popover_API element (i.e. one that has a valid popover attribute) by adding it to the .
inherited
strictEquals(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this === any in JavaScript.
strictNotEquals(JSAny? any) JSBoolean

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this !== any in JavaScript.
subtract(JSAny? any) JSAny

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this - any in JavaScript.
toggleAttribute(String qualifiedName, [bool force]) bool
The toggleAttribute() method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.
inherited
togglePopover([bool force]) bool
The togglePopover() method of the HTMLElement interface toggles a Popover_API element (i.e. one that has a valid popover attribute) between the hidden and showing states.
inherited
toString() String
A string representation of this object.
inherited
typeofEquals(String typeString) bool

Available on JSAny?, provided by the JSAnyUtilityExtension extension

Whether the result of typeof on this JSAny? is typeString.
unsignedRightShift(JSAny? any) JSNumber

Available on JSAny?, provided by the JSAnyOperatorExtension extension

The result of this >>> any in JavaScript.
webkitMatchesSelector(String selectors) bool
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String property) JSAny?

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Shorthand helper for getProperty to get the value of the property key property of this JSObject, but takes and returns a Dart value.
operator []=(String property, JSAny? value) → void

Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension

Shorthand helper for setProperty to write the value of the property key property of this JSObject, but takes a Dart value.