Inheritance
Annotations
  • DomName('HTMLDocument')

Constants

visibilityChangeEvent → EventStreamProvider<Event>

Static factory designed to expose visibilitychange events to event handlers that are not necessarily instances of Document.…

const const _CustomEventStreamProvider<Event>(_determineVisibilityChangeEventType)

Static Properties

supportsCssCanvasContext → bool

Checks if the getCssCanvasContext API is supported on the current platform.…

read-only

Static Methods

internalCreateHtmlDocument() → HtmlDocument

Constructors

HtmlDocument.internal_()

Properties

activeElement → Element

read-only, inherited
baseUri → String

read-only, inherited

The underlying JS DOM object.

read / write, inherited
body → BodyElement

read / write
childNodes → List<Node>

A list of this node's children.…

read-only, inherited
contentType → String

read-only, inherited

read / write, inherited
currentScript → ScriptElement

read-only, inherited
documentElement → Element

read-only, inherited
domain → String

read-only, inherited
firstChild → Node

The first child of this node.…

read-only, inherited
fonts → FontFaceSet

read-only, inherited
fullscreenElement → Element

Returns the element, if any, that is currently displayed in fullscreen.…

read-only
fullscreenEnabled → bool

Returns true if this document can display elements in fullscreen mode.…

read-only
hashCode → int

read-only, inherited

read-only
hidden → bool

read-only
implementation → DomImplementation

read-only, inherited
lastChild → Node

The last child of this node.…

read-only, inherited
lastModified → String

read-only
nextNode → Node

The next sibling node.…

read-only, inherited
nodeName → String

The name of this node.…

read-only, inherited
nodes → List<Node>

A modifiable list of this node's children.

read / write, inherited
nodeType → int

The type of node.…

read-only, inherited
nodeValue → String

The value of this node.…

read-only, 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.

read-only, inherited
onAbort → Stream<Event>

Stream of abort events handled by this Document.

read-only, inherited
onBeforeCopy → Stream<Event>

Stream of beforecopy events handled by this Document.

read-only, inherited
onBeforeCut → Stream<Event>

Stream of beforecut events handled by this Document.

read-only, inherited
onBeforePaste → Stream<Event>

Stream of beforepaste events handled by this Document.

read-only, inherited
onBlur → Stream<Event>

Stream of blur events handled by this Document.

read-only, inherited
onCanPlay → Stream<Event>

read-only, inherited
onCanPlayThrough → Stream<Event>

read-only, inherited
onChange → Stream<Event>

Stream of change events handled by this Document.

read-only, inherited
onClick → Stream<MouseEvent>

Stream of click events handled by this Document.

read-only, inherited
onContextMenu → Stream<MouseEvent>

Stream of contextmenu events handled by this Document.

read-only, inherited
onCopy → Stream<Event>

Stream of copy events handled by this Document.

read-only, inherited
onCut → Stream<Event>

Stream of cut events handled by this Document.

read-only, inherited
onDoubleClick → Stream<Event>

Stream of doubleclick events handled by this Document.

read-only, inherited
onDrag → Stream<MouseEvent>

Stream of drag events handled by this Document.

read-only, inherited
onDragEnd → Stream<MouseEvent>

Stream of dragend events handled by this Document.

read-only, inherited
onDragEnter → Stream<MouseEvent>

Stream of dragenter events handled by this Document.

read-only, inherited
onDragLeave → Stream<MouseEvent>

Stream of dragleave events handled by this Document.

read-only, inherited
onDragOver → Stream<MouseEvent>

Stream of dragover events handled by this Document.

read-only, inherited
onDragStart → Stream<MouseEvent>

Stream of dragstart events handled by this Document.

read-only, inherited
onDrop → Stream<MouseEvent>

Stream of drop events handled by this Document.

read-only, inherited
onDurationChange → Stream<Event>

read-only, inherited
onEmptied → Stream<Event>

read-only, inherited
onEnded → Stream<Event>

read-only, inherited
onError → Stream<Event>

Stream of error events handled by this Document.

read-only, inherited
onFocus → Stream<Event>

Stream of focus events handled by this Document.

read-only, inherited
onFullscreenChange → Stream<Event>

Stream of fullscreenchange events handled by this Document.

read-only, inherited
onFullscreenError → Stream<Event>

Stream of fullscreenerror events handled by this Document.

read-only, inherited
onInput → Stream<Event>

Stream of input events handled by this Document.

read-only, inherited
onInvalid → Stream<Event>

Stream of invalid events handled by this Document.

read-only, inherited
onKeyDown → Stream<KeyboardEvent>

Stream of keydown events handled by this Document.

read-only, inherited
onKeyPress → Stream<KeyboardEvent>

Stream of keypress events handled by this Document.

read-only, inherited
onKeyUp → Stream<KeyboardEvent>

Stream of keyup events handled by this Document.

read-only, inherited
onLoad → Stream<Event>

Stream of load events handled by this Document.

read-only, inherited
onLoadedData → Stream<Event>

read-only, inherited
onLoadedMetadata → Stream<Event>

read-only, inherited
onMouseDown → Stream<MouseEvent>

Stream of mousedown events handled by this Document.

read-only, inherited
onMouseEnter → Stream<MouseEvent>

Stream of mouseenter events handled by this Document.

read-only, inherited
onMouseLeave → Stream<MouseEvent>

Stream of mouseleave events handled by this Document.

read-only, inherited
onMouseMove → Stream<MouseEvent>

Stream of mousemove events handled by this Document.

read-only, inherited
onMouseOut → Stream<MouseEvent>

Stream of mouseout events handled by this Document.

read-only, inherited
onMouseOver → Stream<MouseEvent>

Stream of mouseover events handled by this Document.

read-only, inherited
onMouseUp → Stream<MouseEvent>

Stream of mouseup events handled by this Document.

read-only, inherited
onMouseWheel → Stream<WheelEvent>

Stream of mousewheel events handled by this Document.

read-only, inherited
onPaste → Stream<Event>

Stream of paste events handled by this Document.

read-only, inherited
onPause → Stream<Event>

read-only, inherited
onPlay → Stream<Event>

read-only, inherited
onPlaying → Stream<Event>

read-only, inherited
onPointerLockChange → Stream<Event>

read-only, inherited
onPointerLockError → Stream<Event>

read-only, inherited
onRateChange → Stream<Event>

read-only, inherited
onReadyStateChange → Stream<Event>

Stream of readystatechange events handled by this Document.

read-only, inherited
onReset → Stream<Event>

Stream of reset events handled by this Document.

read-only, inherited
onResize → Stream<Event>

read-only, inherited
onScroll → Stream<Event>

Stream of scroll events handled by this Document.

read-only, inherited
onSearch → Stream<Event>

Stream of search events handled by this Document.

read-only, inherited
onSecurityPolicyViolation → Stream<SecurityPolicyViolationEvent>

Stream of securitypolicyviolation events handled by this Document.

read-only, inherited
onSeeked → Stream<Event>

read-only, inherited
onSeeking → Stream<Event>

read-only, inherited
onSelect → Stream<Event>

Stream of select events handled by this Document.

read-only, inherited
onSelectionChange → Stream<Event>

Stream of selectionchange events handled by this Document.

read-only, inherited
onSelectStart → Stream<Event>

Stream of selectstart events handled by this Document.

read-only, inherited
onStalled → Stream<Event>

read-only, inherited
onSubmit → Stream<Event>

Stream of submit events handled by this Document.

read-only, inherited
onSuspend → Stream<Event>

read-only, inherited
onTimeUpdate → Stream<Event>

read-only, inherited
onTouchCancel → Stream<TouchEvent>

Stream of touchcancel events handled by this Document.

read-only, inherited
onTouchEnd → Stream<TouchEvent>

Stream of touchend events handled by this Document.

read-only, inherited
onTouchMove → Stream<TouchEvent>

Stream of touchmove events handled by this Document.

read-only, inherited
onTouchStart → Stream<TouchEvent>

Stream of touchstart events handled by this Document.

read-only, inherited
onVisibilityChange → Stream<Event>

read-only
onVolumeChange → Stream<Event>

read-only, inherited
onWaiting → Stream<Event>

read-only, inherited
ownerDocument → Document

The document this node belongs to.…

read-only, inherited
parent → Element

The parent element of this node.…

read-only, inherited
parentNode → Node

The parent node of this node.…

read-only, inherited
pointerLockElement → Element

read-only, inherited
preferredStylesheetSet → String

read-only
previousNode → Node

The previous sibling node.…

read-only, inherited
readyState → String

read-only, inherited
referrer → String

read-only
rootElement → SvgSvgElement

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
selectedStylesheetSet → String

read / write
styleSheets → List<StyleSheet>

read-only
supportsRegister → bool

Deprecated*: use supportsRegisterElement instead.

read-only, inherited
supportsRegisterElement → bool

Checks if registerElement is supported on the current platform.

read-only, inherited
text → String

All text within this node and its decendents.…

read / write, inherited
timeline → AnimationTimeline

read-only, inherited
title → String

read / write
visibilityState → String

read-only
window → WindowBase

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.…

inherited

Methods

addEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
adoptNode(Node node) → Node

inherited
append(Node newChild) → Node

Adds a node to the end of the child nodes list of this node.…

inherited
caretRangeFromPoint(int x, int y) → Range

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

execCommand(String command, bool userInterface, String value) → bool

inherited
exitFullscreen() → void

Returns page to standard layout.…

exitPointerLock() → void

inherited
getCssCanvasContext(String contextId, String name, int width, int height) → CanvasRenderingContext

Gets a CanvasRenderingContext which can be used as the CSS background of an element.…

getElementById(String elementId) → Element

inherited
getElementsByClassName(String classNames) → List<Node>

inherited
getElementsByName(String elementName) → List<Node>

inherited
getElementsByTagName(String localName) → List<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 refChild) → Node

Inserts all of the nodes into this node directly before refChild.…

inherited
insertBefore(Node newChild, Node refChild) → Node

Inserts all of the nodes into this node directly before refChild.…

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.…

inherited
query(String relativeSelectors) → Element

Alias for querySelector. Note this function is deprecated because its semantics will be changing in the future.

inherited
queryAll(String relativeSelectors) → ElementList<Element>

Alias for querySelectorAll. Note this function is deprecated because its semantics will be changing in the future.

inherited
queryCommandEnabled(String command) → bool

inherited
queryCommandIndeterm(String command) → bool

inherited
queryCommandState(String command) → bool

inherited
queryCommandSupported(String command) → bool

inherited
queryCommandValue(String command) → String

inherited
querySelector(String selectors) → Element

Finds the first descendant element of this document that matches the specified group of selectors.…

inherited
querySelectorAll(String selectors) → ElementList<Element>

Finds all descendant elements of this document that match the specified group of selectors.…

inherited
register(String tag, Type customElementClass, {String extendsTag}) → void

Deprecated*: use registerElement instead.

registerElement(String tag, Type customElementClass, {String extendsTag}) → void

Register a custom subclass of Element to be instantiatable by the DOM.…

remove() → void

Removes this node from the DOM.

inherited
removeEventListener(String type, EventListener listener(Event event), [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
transformDocumentToTreeView(String noStyleMessage) → void

inherited