ShadowRoot
Properties
Returns the deepest element in the document through which or to which key events are being routed. This is, roughly speaking, the focused element in the document.
node is a CDATASection node.
Returns the children.
Returns the child elements.
node is a Comment node.
node is a DocumentFragment node.
node is a document.
Set when other is a descendant of node.
Set when other is an ancestor of node.
Set when node and other are not in the same tree.
Set when other is following node.
Set when other is preceding node.
node is a doctype.
node is an element.
Returns the first child.
Returns the first child that is an element, and null otherwise.
Returns document's fullscreen element.
Returns true if node is connected and false otherwise.
Returns the last child that is an element, and null otherwise.
Returns the next sibling.
Returns the node document. Returns null for documents.
Returns the parent element.
Returns the parent.
Returns the previous sibling.
node is a ProcessingInstruction node.
Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.
Functions
Returns a bitmask indicating the position of other relative to node.
Returns the element for the specified x coordinate and the specified y coordinate.
Returns the first element within node's descendants whose ID is elementId.
Returns node's root.
Returns whether node has children.
Returns whether node and otherNode have the same properties.
Returns the first element that is a descendant of node that matches selectors.
Returns all element descendants of node that match selectors.
Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.