XMLDocument class

The XMLDocument interface represents an XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents.

EventTarget

Node

Document

XMLDocument

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

Constructors

XMLDocument()
factory

Properties

activeElement Element?

Available on DocumentOrShadowRoot, provided by the PropsDocumentOrShadowRoot extension

no setter
adoptedStyleSheets Iterable<CSSStyleSheet>

Available on DocumentOrShadowRoot, provided by the PropsDocumentOrShadowRoot extension

getter/setter pair
alinkColor String

Available on Document, provided by the PropsDocument extension

getter/setter pair
all HTMLAllCollection

Available on Document, provided by the PropsDocument extension

no setter
anchors HTMLCollection

Available on Document, provided by the PropsDocument extension

no setter
applets HTMLCollection

Available on Document, provided by the PropsDocument extension

no setter
baseURI String

Available on Node, provided by the PropsNode extension

no setter
bgColor String

Available on Document, provided by the PropsDocument extension

getter/setter pair
body HTMLElement?

Available on Document, provided by the PropsDocument extension

getter/setter pair
characterSet String

Available on Document, provided by the PropsDocument extension

no setter
charset String

Available on Document, provided by the PropsDocument extension

no setter
childElementCount int

Available on ParentNode, provided by the PropsParentNode extension

no setter
childNodes NodeList

Available on Node, provided by the PropsNode extension

no setter
children HTMLCollection

Available on ParentNode, provided by the PropsParentNode extension

no setter
compatMode String

Available on Document, provided by the PropsDocument extension

no setter
contentType String

Available on Document, provided by the PropsDocument extension

no setter

Available on Document, provided by the PropsDocument extension

getter/setter pair
currentScript → dynamic

Available on Document, provided by the PropsDocument extension

no setter
defaultView Window?

Available on Document, provided by the PropsDocument extension

no setter
designMode String

Available on Document, provided by the PropsDocument extension

getter/setter pair
dir String

Available on Document, provided by the PropsDocument extension

getter/setter pair
doctype DocumentType?

Available on Document, provided by the PropsDocument extension

no setter
documentElement Element?

Available on Document, provided by the PropsDocument extension

no setter
documentURI String

Available on Document, provided by the PropsDocument extension

no setter
domain String

Available on Document, provided by the PropsDocument extension

getter/setter pair
embeds HTMLCollection

Available on Document, provided by the PropsDocument extension

no setter
fgColor String

Available on Document, provided by the PropsDocument extension

getter/setter pair
firstChild Node?

Available on Node, provided by the PropsNode extension

no setter
firstElementChild Element?

Available on ParentNode, provided by the PropsParentNode extension

no setter
fonts FontFaceSet

Available on FontFaceSource, provided by the PropsFontFaceSource extension

no setter
forms HTMLCollection

Available on Document, provided by the PropsDocument extension

no setter
fragmentDirective FragmentDirective

Available on Document, provided by the PropsDocument extension

no setter
fullscreen bool

Available on Document, provided by the PropsDocument extension

no setter
fullscreenElement Element?

Available on DocumentOrShadowRoot, provided by the PropsDocumentOrShadowRoot extension

no setter
fullscreenEnabled bool

Available on Document, provided by the PropsDocument extension

no setter
hashCode int
The hash code for this object.
no setterinherited

Available on Document, provided by the PropsDocument extension

no setter
hidden bool

Available on Document, provided by the PropsDocument extension

no setter
images HTMLCollection

Available on Document, provided by the PropsDocument extension

no setter
implementation DOMImplementation

Available on Document, provided by the PropsDocument extension

no setter
inputEncoding String

Available on Document, provided by the PropsDocument extension

no setter
isConnected bool

Available on Node, provided by the PropsNode extension

no setter
lastChild Node?

Available on Node, provided by the PropsNode extension

no setter
lastElementChild Element?

Available on ParentNode, provided by the PropsParentNode extension

no setter
lastModified String

Available on Document, provided by the PropsDocument extension

no setter
linkColor String

Available on Document, provided by the PropsDocument extension

getter/setter pair

Available on Document, provided by the PropsDocument extension

no setter
location Location?

Available on Document, provided by the PropsDocument extension

no setter
namedFlows NamedFlowMap

Available on Document, provided by the PropsDocument extension

no setter
nextSibling Node?

Available on Node, provided by the PropsNode extension

no setter
nodeName String

Available on Node, provided by the PropsNode extension

no setter
nodeType int

Available on Node, provided by the PropsNode extension

no setter
nodeValue String?

Available on Node, provided by the PropsNode extension

getter/setter pair
onabort EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onanimationcancel EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onanimationend EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onanimationiteration EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onanimationstart EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onauxclick EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onbeforeinput EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onbeforematch EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onbeforexrselect EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onblur EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
oncancel EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
oncanplay EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
oncanplaythrough EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onchange EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onclick EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onclose EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
oncontextlost EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
oncontextmenu EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
oncontextrestored EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
oncopy EventHandlerNonNull<Event>?

Available on DocumentAndElementEventHandlers, provided by the PropsDocumentAndElementEventHandlers extension

getter/setter pair
oncuechange EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
oncut EventHandlerNonNull<Event>?

Available on DocumentAndElementEventHandlers, provided by the PropsDocumentAndElementEventHandlers extension

getter/setter pair
ondblclick EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ondrag EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ondragend EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ondragenter EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ondragleave EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ondragover EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ondragstart EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ondrop EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ondurationchange EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onemptied EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onended EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onerror OnErrorEventHandlerNonNull?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onfocus EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onformdata EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onfreeze EventHandlerNonNull<Event>?

Available on Document, provided by the PropsDocument extension

getter/setter pair
onfullscreenchange EventHandlerNonNull<Event>?

Available on Document, provided by the PropsDocument extension

getter/setter pair
onfullscreenerror EventHandlerNonNull<Event>?

Available on Document, provided by the PropsDocument extension

getter/setter pair
ongotpointercapture EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
oninput EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
oninvalid EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onkeydown EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onkeypress EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onkeyup EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onload EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onloadeddata EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onloadedmetadata EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onloadstart EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onlostpointercapture EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onmousedown EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onmouseenter EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onmouseleave EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onmousemove EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onmouseout EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onmouseover EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onmouseup EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onpaste EventHandlerNonNull<Event>?

Available on DocumentAndElementEventHandlers, provided by the PropsDocumentAndElementEventHandlers extension

getter/setter pair
onpause EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onplay EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onplaying EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onpointercancel EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onpointerdown EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onpointerenter EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onpointerleave EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onpointerlockchange EventHandlerNonNull<Event>?

Available on Document, provided by the PropsDocument extension

getter/setter pair
onpointerlockerror EventHandlerNonNull<Event>?

Available on Document, provided by the PropsDocument extension

getter/setter pair
onpointermove EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onpointerout EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onpointerover EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onpointerrawupdate EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onpointerup EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onprerenderingchange EventHandlerNonNull<Event>?

Available on Document, provided by the PropsDocument extension

getter/setter pair
onprogress EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onratechange EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onreadystatechange EventHandlerNonNull<Event>?

Available on Document, provided by the PropsDocument extension

getter/setter pair
onreset EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onresize EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onresume EventHandlerNonNull<Event>?

Available on Document, provided by the PropsDocument extension

getter/setter pair
onscroll EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onsecuritypolicyviolation EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onseeked EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onseeking EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onselect EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onselectionchange EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onselectstart EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onslotchange EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onstalled EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onsubmit EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onsuspend EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ontimeupdate EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ontoggle EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ontouchcancel EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ontouchend EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ontouchmove EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ontouchstart EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ontransitioncancel EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ontransitionend EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ontransitionrun EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ontransitionstart EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onvisibilitychange EventHandlerNonNull<Event>?

Available on Document, provided by the PropsDocument extension

getter/setter pair
onvolumechange EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onwaiting EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onwebkitanimationend EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onwebkitanimationiteration EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onwebkitanimationstart EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onwebkittransitionend EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
onwheel EventHandlerNonNull<Event>?

Available on GlobalEventHandlers, provided by the PropsGlobalEventHandlers extension

getter/setter pair
ownerDocument Document?

Available on Node, provided by the PropsNode extension

no setter
parentElement Element?

Available on Node, provided by the PropsNode extension

no setter
parentNode Node?

Available on Node, provided by the PropsNode extension

no setter
permissionsPolicy PermissionsPolicy

Available on Document, provided by the PropsDocument extension

no setter
pictureInPictureElement Element?

Available on DocumentOrShadowRoot, provided by the PropsDocumentOrShadowRoot extension

no setter
pictureInPictureEnabled bool

Available on Document, provided by the PropsDocument extension

no setter
plugins HTMLCollection

Available on Document, provided by the PropsDocument extension

no setter
pointerLockElement Element?

Available on DocumentOrShadowRoot, provided by the PropsDocumentOrShadowRoot extension

no setter
prerendering bool

Available on Document, provided by the PropsDocument extension

no setter
previousSibling Node?

Available on Node, provided by the PropsNode extension

no setter
readyState DocumentReadyState

Available on Document, provided by the PropsDocument extension

no setter
referrer String

Available on Document, provided by the PropsDocument extension

no setter
rootElement SVGSVGElement?

Available on Document, provided by the PropsDocument extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scripts HTMLCollection

Available on Document, provided by the PropsDocument extension

no setter
scrollingElement Element?

Available on Document, provided by the PropsDocument extension

no setter
styleSheets StyleSheetList

Available on DocumentOrShadowRoot, provided by the PropsDocumentOrShadowRoot extension

no setter
textContent String?

Available on Node, provided by the PropsNode extension

getter/setter pair
timeline DocumentTimeline

Available on Document, provided by the PropsDocument extension

no setter
title String

Available on Document, provided by the PropsDocument extension

getter/setter pair
url String

Available on Document, provided by the PropsDocument extension

no setter
visibilityState DocumentVisibilityState

Available on Document, provided by the PropsDocument extension

no setter
vlinkColor String

Available on Document, provided by the PropsDocument extension

getter/setter pair
wasDiscarded bool

Available on Document, provided by the PropsDocument extension

no setter

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

adoptNode(Node node) Node

Available on Document, provided by the PropsDocument extension

append([dynamic nodes1, dynamic nodes2, dynamic nodes3]) → void

Available on ParentNode, provided by the PropsParentNode extension

appendChild(Node node) Node

Available on Node, provided by the PropsNode extension

captureEvents() → void

Available on Document, provided by the PropsDocument extension

caretPositionFromPoint(double x, double y) CaretPosition?

Available on Document, provided by the PropsDocument extension

clear() → void

Available on Document, provided by the PropsDocument extension

cloneNode([bool? deep = false]) Node

Available on Node, provided by the PropsNode extension

close() → void

Available on Document, provided by the PropsDocument extension

compareDocumentPosition(Node other) int

Available on Node, provided by the PropsNode extension

contains(Node? other) bool

Available on Node, provided by the PropsNode extension

convertPointFromNode(DOMPointInit point, dynamic from, [ConvertCoordinateOptions? options]) DOMPoint

Available on GeometryUtils, provided by the PropsGeometryUtils extension

convertQuadFromNode(DOMQuadInit quad, dynamic from, [ConvertCoordinateOptions? options]) DOMQuad

Available on GeometryUtils, provided by the PropsGeometryUtils extension

convertRectFromNode(DOMRectReadOnly rect, dynamic from, [ConvertCoordinateOptions? options]) DOMQuad

Available on GeometryUtils, provided by the PropsGeometryUtils extension

createAttribute(String localName) Attr

Available on Document, provided by the PropsDocument extension

createAttributeNS(String? namespace, String qualifiedName) Attr

Available on Document, provided by the PropsDocument extension

createCDATASection(String data) CDATASection

Available on Document, provided by the PropsDocument extension

createComment(String data) Comment

Available on Document, provided by the PropsDocument extension

createDocumentFragment() DocumentFragment

Available on Document, provided by the PropsDocument extension

createElement(String localName, [dynamic options]) Element

Available on Document, provided by the PropsDocument extension

createElementNS(String? namespace, String qualifiedName, [dynamic options]) Element

Available on Document, provided by the PropsDocument extension

createEvent(String interface) Event

Available on Document, provided by the PropsDocument extension

createExpression(String expression, [XPathNSResolver? resolver]) XPathExpression

Available on XPathEvaluatorBase, provided by the PropsXPathEvaluatorBase extension

createNodeIterator(Node root, [int? whatToShow = 0xFFFFFFFF, NodeFilter? filter]) NodeIterator

Available on Document, provided by the PropsDocument extension

createNSResolver(Node nodeResolver) XPathNSResolver

Available on XPathEvaluatorBase, provided by the PropsXPathEvaluatorBase extension

createProcessingInstruction(String target, String data) ProcessingInstruction

Available on Document, provided by the PropsDocument extension

createRange() Range

Available on Document, provided by the PropsDocument extension

createTextNode(String data) Text

Available on Document, provided by the PropsDocument extension

createTreeWalker(Node root, [int? whatToShow = 0xFFFFFFFF, NodeFilter? filter]) TreeWalker

Available on Document, provided by the PropsDocument extension

dispatchEvent(Event event) bool

Available on EventTarget, provided by the PropsEventTarget extension

elementFromPoint(double x, double y) Element?

Available on Document, provided by the PropsDocument extension

elementsFromPoint(double x, double y) Iterable<Element>

Available on Document, provided by the PropsDocument extension

evaluate(String expression, Node contextNode, [XPathNSResolver? resolver, int? type = 0, XPathResult? result]) XPathResult

Available on XPathEvaluatorBase, provided by the PropsXPathEvaluatorBase extension

execCommand(String commandId, [bool? showUI = false, String? value = '']) bool

Available on Document, provided by the PropsDocument extension

exitFullscreen() Future<void>

Available on Document, provided by the PropsDocument extension

exitPictureInPicture() Future<void>

Available on Document, provided by the PropsDocument extension

exitPointerLock() → void

Available on Document, provided by the PropsDocument extension

getAnimations() Iterable<Animation>

Available on DocumentOrShadowRoot, provided by the PropsDocumentOrShadowRoot extension

getBoxQuads([BoxQuadOptions? options]) Iterable<DOMQuad>

Available on GeometryUtils, provided by the PropsGeometryUtils extension

getElementById(String elementId) Element?

Available on NonElementParentNode, provided by the PropsNonElementParentNode extension

getElementsByClassName(String classNames) HTMLCollection

Available on Document, provided by the PropsDocument extension

getElementsByName(String elementName) NodeList

Available on Document, provided by the PropsDocument extension

getElementsByTagName(String qualifiedName) HTMLCollection

Available on Document, provided by the PropsDocument extension

getElementsByTagNameNS(String? namespace, String localName) HTMLCollection

Available on Document, provided by the PropsDocument extension

getRootNode([GetRootNodeOptions? options]) Node

Available on Node, provided by the PropsNode extension

getSelection() Selection?

Available on Document, provided by the PropsDocument extension

hasChildNodes() bool

Available on Node, provided by the PropsNode extension

hasFocus() bool

Available on Document, provided by the PropsDocument extension

hasStorageAccess() Future<bool>

Available on Document, provided by the PropsDocument extension

importNode(Node node, [bool? deep = false]) Node

Available on Document, provided by the PropsDocument extension

insertBefore(Node node, Node? child) Node

Available on Node, provided by the PropsNode extension

isDefaultNamespace(String? namespace) bool

Available on Node, provided by the PropsNode extension

isEqualNode(Node? otherNode) bool

Available on Node, provided by the PropsNode extension

isSameNode(Node? otherNode) bool

Available on Node, provided by the PropsNode extension

lookupNamespaceURI(String? prefix) String?

Available on Node, provided by the PropsNode extension

lookupPrefix(String? namespace) String?

Available on Node, provided by the PropsNode extension

measureElement(Element element) FontMetrics

Available on Document, provided by the PropsDocument extension

measureText(String text, StylePropertyMapReadOnly styleMap) FontMetrics

Available on Document, provided by the PropsDocument extension

normalize() → void

Available on Node, provided by the PropsNode extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String url, [String? name, String? features]) Window?

Available on Document, provided by the PropsDocument extension

prepend([dynamic nodes1, dynamic nodes2, dynamic nodes3]) → void

Available on ParentNode, provided by the PropsParentNode extension

queryCommandEnabled(String commandId) bool

Available on Document, provided by the PropsDocument extension

queryCommandIndeterm(String commandId) bool

Available on Document, provided by the PropsDocument extension

queryCommandState(String commandId) bool

Available on Document, provided by the PropsDocument extension

queryCommandSupported(String commandId) bool

Available on Document, provided by the PropsDocument extension

queryCommandValue(String commandId) String

Available on Document, provided by the PropsDocument extension

querySelector(String selectors) Element?

Available on ParentNode, provided by the PropsParentNode extension

querySelectorAll(String selectors) NodeList

Available on ParentNode, provided by the PropsParentNode extension

releaseEvents() → void

Available on Document, provided by the PropsDocument extension

removeChild(Node child) Node

Available on Node, provided by the PropsNode extension

removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

replaceChild(Node node, Node child) Node

Available on Node, provided by the PropsNode extension

replaceChildren([dynamic nodes1, dynamic nodes2, dynamic nodes3]) → void

Available on ParentNode, provided by the PropsParentNode extension

requestStorageAccess() Future<void>

Available on Document, provided by the PropsDocument extension

toString() String
A string representation of this object.
inherited
write([String? text1, String? text2, String? text3]) → void

Available on Document, provided by the PropsDocument extension

writeln([String? text1, String? text2, String? text3]) → void

Available on Document, provided by the PropsDocument extension

Operators

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