ShadowRoot class - dart:html library (original) (raw)

Inheritance

Implemented types

Annotations

Properties

activeElementElement?

no setteroverride

getter/setter pair

baseUriString?

no setterinherited

childNodesList<Node>

A list of this node's children.

no setterinherited

childrenList<Element>

getter/setter pairinherited

delegatesFocusbool?

no setter

firstChildNode?

The first child of this node.

no setterinherited

fullscreenElementElement?

no setteroverride

hashCodeint

The hash code for this object.

no setterinherited

hostElement?

no setter

innerHtmlString?

getter/setter pairoverride

isConnectedbool?

no setterinherited

lastChildNode?

The last child of this node.

no setterinherited

modeString?

no setter

nextNodeNode?

The next sibling node.

no setterinherited

nodeNameString?

The name of this node.

no setterinherited

nodesList<Node>

A modifiable list of this node's children.

getter/setter pairinherited

nodeTypeint

The type of node.

no setterinherited

nodeValueString?

The value of this node.

no setterinherited

olderShadowRootShadowRoot?

no setter

onEvents

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

no setterinherited

ownerDocumentDocument?

The document this node belongs to.

no setterinherited

parentElement?

The parent element of this node.

no setterinherited

parentNodeNode?

The parent node of this node.

no setterinherited

pointerLockElementElement?

no setteroverride

previousNodeNode?

The previous sibling node.

no setterinherited

resetStyleInheritancebool

getter/setter pair

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

styleSheetsList<StyleSheet>?

no setteroverride

textString?

All text within this node and its descendants.

getter/setter pairinherited

Methods

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

inherited

append(Node node)→ Node

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

inherited

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

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

inherited

appendText(String text)→ void

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

inherited

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

dispatchEvent(Event event)→ bool

inherited

elementFromPoint(int x, int y)→ Element?

override

elementsFromPoint(int x, int y)→ List<Element>

override

getElementById(String elementId)→ Element?

inherited

getRootNode([Map? options])→ Node

inherited

getSelection()→ Selection?

override

hasChildNodes()→ bool

Returns true if this node has any children.

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

querySelector(String selectors)→ Element?

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

inherited

querySelectorAll<T extends Element>(String selectors)→ ElementList<T>

Finds all descendant elements of this document fragment 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

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

inherited

toString()→ String

Print out a String representation of this Node.

inherited

Operators

operator ==(Object other)→ bool

The equality operator.

inherited

Static Properties

supportedbool

no setter