HtmlDocument class

Inheritance
Annotations
  • @Native("HTMLDocument")

Properties

activeElement Element?
no setterinherited
addressSpace String?
no setterinherited
baseUri String?
no setterinherited
body BodyElement?
getter/setter pair
childNodes List<Node>
A list of this node's children.
no setterinherited
contentType String?
no setterinherited
getter/setter pairinherited
currentScript ScriptElement?
no setterinherited
documentElement Element?
no setterinherited
domain String?
no setterinherited
firstChild Node?
The first child of this node.
no setterinherited
fonts FontFaceSet?
no setterinherited
fullscreenElement Element?
no setterinherited
fullscreenEnabled bool?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
no setter
hidden bool?
no setterinherited
implementation DomImplementation?
no setterinherited
isConnected bool?
no setterinherited
lastChild Node?
The last child of this node.
no setterinherited
lastModified String?
no setter
nextNode Node?
The next sibling node.
no setterinherited
nodeName String?
The name of this node.
no setterinherited
nodes List<Node>
A modifiable list of this node's children.
getter/setter pairinherited
nodeType int
The type of node.
no setterinherited
nodeValue String?
The value of this node.
no setterinherited
on Events
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
no setterinherited
onAbort Stream<Event>
Stream of abort events handled by this Document.
no setterinherited
onBeforeCopy Stream<Event>
Stream of beforecopy events handled by this Document.
no setterinherited
onBeforeCut Stream<Event>
Stream of beforecut events handled by this Document.
no setterinherited
onBeforePaste Stream<Event>
Stream of beforepaste events handled by this Document.
no setterinherited
onBlur Stream<Event>
Stream of blur events handled by this Document.
no setterinherited
onCanPlay Stream<Event>
no setterinherited
onCanPlayThrough Stream<Event>
no setterinherited
onChange Stream<Event>
Stream of change events handled by this Document.
no setterinherited
onClick Stream<MouseEvent>
Stream of click events handled by this Document.
no setterinherited
onContextMenu Stream<MouseEvent>
Stream of contextmenu events handled by this Document.
no setterinherited
onCopy Stream<ClipboardEvent>
Stream of copy events handled by this Document.
no setterinherited
onCut Stream<ClipboardEvent>
Stream of cut events handled by this Document.
no setterinherited
onDoubleClick Stream<Event>
Stream of doubleclick events handled by this Document.
no setterinherited
onDrag Stream<MouseEvent>
Stream of drag events handled by this Document.
no setterinherited
onDragEnd Stream<MouseEvent>
Stream of dragend events handled by this Document.
no setterinherited
onDragEnter Stream<MouseEvent>
Stream of dragenter events handled by this Document.
no setterinherited
onDragLeave Stream<MouseEvent>
Stream of dragleave events handled by this Document.
no setterinherited
onDragOver Stream<MouseEvent>
Stream of dragover events handled by this Document.
no setterinherited
onDragStart Stream<MouseEvent>
Stream of dragstart events handled by this Document.
no setterinherited
onDrop Stream<MouseEvent>
Stream of drop events handled by this Document.
no setterinherited
onDurationChange Stream<Event>
no setterinherited
onEmptied Stream<Event>
no setterinherited
onEnded Stream<Event>
no setterinherited
onError Stream<Event>
Stream of error events handled by this Document.
no setterinherited
onFocus Stream<Event>
Stream of focus events handled by this Document.
no setterinherited
onFullscreenChange Stream<Event>
Stream of fullscreenchange events handled by this Document.
no setterinherited
onFullscreenError Stream<Event>
Stream of fullscreenerror events handled by this Document.
no setterinherited
onInput Stream<Event>
Stream of input events handled by this Document.
no setterinherited
onInvalid Stream<Event>
Stream of invalid events handled by this Document.
no setterinherited
onKeyDown Stream<KeyboardEvent>
Stream of keydown events handled by this Document.
no setterinherited
onKeyPress Stream<KeyboardEvent>
Stream of keypress events handled by this Document.
no setterinherited
onKeyUp Stream<KeyboardEvent>
Stream of keyup events handled by this Document.
no setterinherited
onLoad Stream<Event>
Stream of load events handled by this Document.
no setterinherited
onLoadedData Stream<Event>
no setterinherited
onLoadedMetadata Stream<Event>
no setterinherited
onMouseDown Stream<MouseEvent>
Stream of mousedown events handled by this Document.
no setterinherited
onMouseEnter Stream<MouseEvent>
Stream of mouseenter events handled by this Document.
no setterinherited
onMouseLeave Stream<MouseEvent>
Stream of mouseleave events handled by this Document.
no setterinherited
onMouseMove Stream<MouseEvent>
Stream of mousemove events handled by this Document.
no setterinherited
onMouseOut Stream<MouseEvent>
Stream of mouseout events handled by this Document.
no setterinherited
onMouseOver Stream<MouseEvent>
Stream of mouseover events handled by this Document.
no setterinherited
onMouseUp Stream<MouseEvent>
Stream of mouseup events handled by this Document.
no setterinherited
onMouseWheel Stream<WheelEvent>
Stream of mousewheel events handled by this Document.
no setterinherited
onPaste Stream<ClipboardEvent>
Stream of paste events handled by this Document.
no setterinherited
onPause Stream<Event>
no setterinherited
onPlay Stream<Event>
no setterinherited
onPlaying Stream<Event>
no setterinherited
onPointerLockChange Stream<Event>
no setterinherited
onPointerLockError Stream<Event>
no setterinherited
onRateChange Stream<Event>
no setterinherited
onReadyStateChange Stream<Event>
Stream of readystatechange events handled by this Document.
no setterinherited
onReset Stream<Event>
Stream of reset events handled by this Document.
no setterinherited
onResize Stream<Event>
no setterinherited
onScroll Stream<Event>
Stream of scroll events handled by this Document.
no setterinherited
onSearch Stream<Event>
Stream of search events handled by this Document.
no setterinherited
onSecurityPolicyViolation Stream<SecurityPolicyViolationEvent>
Stream of securitypolicyviolation events handled by this Document.
no setterinherited
onSeeked Stream<Event>
no setterinherited
onSeeking Stream<Event>
no setterinherited
onSelect Stream<Event>
Stream of select events handled by this Document.
no setterinherited
onSelectionChange Stream<Event>
Stream of selectionchange events handled by this Document.
no setterinherited
onSelectStart Stream<Event>
Stream of selectstart events handled by this Document.
no setterinherited
onStalled Stream<Event>
no setterinherited
onSubmit Stream<Event>
Stream of submit events handled by this Document.
no setterinherited
onSuspend Stream<Event>
no setterinherited
onTimeUpdate Stream<Event>
no setterinherited
onTouchCancel Stream<TouchEvent>
Stream of touchcancel events handled by this Document.
no setterinherited
onTouchEnd Stream<TouchEvent>
Stream of touchend events handled by this Document.
no setterinherited
onTouchMove Stream<TouchEvent>
Stream of touchmove events handled by this Document.
no setterinherited
onTouchStart Stream<TouchEvent>
Stream of touchstart events handled by this Document.
no setterinherited
onVisibilityChange Stream<Event>
no setter
onVolumeChange Stream<Event>
no setterinherited
onWaiting Stream<Event>
no setterinherited
origin String?
no setterinherited
ownerDocument Document?
The document this node belongs to.
no setterinherited
parent Element?
The parent element of this node.
no setterinherited
parentNode Node?
The parent node of this node.
no setterinherited
pointerLockElement Element?
no setterinherited
preferredStylesheetSet String?
no setter
previousNode Node?
The previous sibling node.
no setterinherited
readyState String?
no setterinherited
referrer String
no setter
rootElement SvgSvgElement?
no setterinherited
rootScroller Element?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollingElement Element?
no setterinherited
selectedStylesheetSet String?
getter/setter pair
styleSheets List<StyleSheet>?
no setter
suborigin String?
no setterinherited
text String?
All text within this node and its descendants.
getter/setter pairinherited
timeline DocumentTimeline?
no setterinherited
title String
getter/setter pair
visibilityState String
no setterinherited
window WindowBase?
no setterinherited

Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
adoptNode(Node node) Node
inherited
append(Node node) Node
Adds a node to the end of the child nodes list of this node.
inherited
caretRangeFromPoint(int? x, int? y) Range
UNSTABLE: Chrome-only - create a Range from the given point.
clone(bool? deep) Node
Returns a copy of this node.
inherited
contains(Node? other) bool
Returns true if this node contains the specified node.
inherited
createDocumentFragment() DocumentFragment
inherited
createElement(String tagName, [String? typeExtension]) Element
inherited
createElementNS(String namespaceURI, String qualifiedName, [String? typeExtension]) Element
inherited
createElementUpgrader(Type type, {String? extendsTag}) ElementUpgrader
Creates an element upgrader which can be used to change the Dart wrapper type for elements.
createRange() Range
inherited
dispatchEvent(Event event) bool
inherited
elementFromPoint(int x, int y) Element?
elementsFromPoint(int x, int y) List<Element>
inherited
execCommand(String commandId, [bool? showUI, String? value]) bool
inherited
exitFullscreen() → void
Returns page to standard layout.
override
exitPointerLock() → void
inherited
getAnimations() List<Animation>
inherited
getElementById(String elementId) Element?
inherited
getElementsByClassName(String classNames) List<Node>
inherited
getElementsByName(String elementName) List<Node>
inherited
getElementsByTagName(String localName) List<Node>
inherited
getRootNode([Map? options]) Node
inherited
hasChildNodes() bool
Returns true if this node has any children.
inherited
importNode(Node node, [bool? deep]) Node
inherited
insertAllBefore(Iterable<Node> newNodes, Node child) → void
Inserts all of the nodes into this node directly before child.
inherited
insertBefore(Node node, Node? child) Node
Inserts the given node into this node directly before child. If child is null, then the given node is inserted at the end of this node's child nodes.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryCommandEnabled(String commandId) bool
inherited
queryCommandIndeterm(String commandId) bool
inherited
queryCommandState(String commandId) bool
inherited
queryCommandSupported(String commandId) bool
inherited
queryCommandValue(String commandId) String
inherited
querySelector(String selectors) Element?
Finds the first descendant element of this document that matches the specified group of selectors.
inherited
querySelectorAll<T extends Element>(String selectors) ElementList<T>
Finds all descendant elements of this document that match the specified group of selectors.
inherited
remove() → void
Removes this node from the DOM.
inherited
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
replaceWith(Node otherNode) Node
Replaces this node with another node.
inherited
toString() String
Print out a String representation of this Node.
inherited

Operators

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

Constants

visibilityChangeEvent → const EventStreamProvider<Event>
Static factory designed to expose visibilitychange events to event handlers that are not necessarily instances of Document.