ShadowRoot
sealed class ShadowRoot : Node, IShadowRoot, IDocumentFragment, INode, IEventTarget, IMarkupFormattable, IParentNode, INonElementParentNode
Represents a shadow root.
Gets the currently focused element in the shadow tree, if any.
Gets the number of child elements.
Gets the child elements.
Gets the first child element of this element.
Gets the host element, which contains this shadow root.
Gets the markup of the current shadow root's contents.
Gets the last child element of this element.
Gets the shadow root style sheets.
Appends nodes to current document fragment.
Tries to get the an element in the DOM tree given its id.
Returns a set of elements which have all the given class names.
Returns a NodeList of elements with the given tag name. The
complete document is searched, including the root node.
Returns a list of elements with the given tag name belonging to the
given namespace. The complete document is searched, including the
root node.
Prepends nodes to the current document fragment.
Returns the first element within the document (using depth-first
pre-order traversal of the document's nodes) that matches the
specified group of selectors.
Returns a list of the elements within the document (using
depth-first pre-order traversal of the document's nodes) that match
the specified group of selectors.