description

# HtmlDocument class

Inheritance
  - Object
  - EventTarget
  - Node
  - Document
  - HtmlDocument
Annotations
  - @Native.new("HTMLDocument")

## Properties

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

## 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.