Not documented.

Inheritance
Annotations
  • DomName('ShadowRoot')
  • SupportedBrowser(SupportedBrowser.CHROME, '26')
  • Experimental()

Static Properties

supported bool
read-only

Properties

activeElement Element
read-only

applyAuthorStyles bool
read / write

baseUri String
read-only, inherited

childNodes List<Node>
read-only, inherited

A list of this node's children.

children List<Element>
read / write, inherited

firstChild Node
read-only, inherited

The first child of this node.

host Element
read-only

innerHtml String
read / write

innerHtml String
read / write, inherited

lastChild Node
read-only, inherited

The last child of this node.

nextNode Node
read-only, inherited

The next sibling node.

nodeName String
read-only, inherited

The name of this node.

nodes List<Node>
read / write, inherited

A modifiable list of this node's children.

nodeType int
read-only, inherited

The type of node.

nodeValue String
read-only, inherited

The value of this node.

olderShadowRoot ShadowRoot
read-only

on Events
read-only, inherited

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

ownerDocument Document
read-only, inherited

The document this node belongs to.

parent Element
read-only, inherited

The parent element of this node.

parentNode Node
read-only, inherited

The parent node of this node.

previousNode Node
read-only, inherited

The previous sibling node.

resetStyleInheritance bool
read / write

styleSheets List<StyleSheet>
read-only

text String
read / write, inherited

All text within this node and its decendents.

Methods

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

append(Node newChild) → Node
inherited

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

appendHtml(String text, {NodeValidator validator, NodeTreeSanitizer, treeSanitizer}) → void
inherited

Parses the specified text as HTML and adds the resulting node after the last child of this document fragment.

appendText(String text) → void
inherited

Adds the specified text as a text node after the last child of this document fragment.

clone(bool deep) → Node

Returns a copy of this node.

contains(Node other) → bool
inherited

Returns true if this node contains the specified node.

dispatchEvent(Event event) → bool
inherited

elementFromPoint(int x, int y) → Element

getElementById(String elementId) → Element

getElementsByClassName(String className) → List<Node>

getElementsByTagName(String tagName) → List<Node>

getSelection() → Selection

hasChildNodes() → bool
inherited

Returns true if this node has any children.

insertAllBefore(Iterable<Node> newNodes, Node refChild) → Node
inherited

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

insertBefore(Node newChild, Node refChild) → Node
inherited

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

query(String relativeSelectors) → Element
inherited

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

queryAll(String relativeSelectors) → ElementList<Element>
inherited

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

querySelector(String selectors) → Element
inherited

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

querySelectorAll(String selectors) → ElementList<Element>
inherited

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

remove() → void
inherited

Removes this node from the DOM.

removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited

replaceWith(Node otherNode) → Node
inherited

Replaces this node with another node.

setInnerHtml(String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void
inherited

toString() → String
inherited

Print out a String representation of this Node.