Node Properties |
The Node type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Attributes of the `Element` node in the form of flat array `[name1, value1, name2, value2]`.
| |
BackendNodeId |
The BackendNodeId for this node.
| |
BaseURL |
Base URL that `Document` or `FrameOwner` node uses for URL completion.
| |
ChildNodeCount |
Child count for `Container` nodes.
| |
Children |
Child nodes of this node when requested with children.
| |
CompatibilityMode |
CompatibilityMode
| |
ContentDocument |
Content document for frame owner elements.
| |
DistributedNodes |
Distributed nodes for given insertion point.
| |
DocumentURL |
Document URL that `Document` or `FrameOwner` node points to.
| |
FrameId |
Frame ID for frame owner elements.
| |
ImportedDocument |
Deprecated, as the HTML Imports API has been removed (crbug.com/937746).
This property used to return the imported document for the HTMLImport links.
The property is always undefined now.
| |
InternalSubset |
`DocumentType`'s internalSubset.
| |
IsSVG |
Whether the node is SVG.
| |
LocalName |
`Node`'s localName.
| |
Name |
`Attr`'s name.
| |
NodeId |
Node identifier that is passed into the rest of the DOM messages as the `nodeId`. Backend
will only push node with given `id` once. It is aware of all requested nodes and will only
fire DOM events for nodes known to the client.
| |
NodeName |
`Node`'s nodeName.
| |
NodeType |
`Node`'s nodeType.
| |
NodeValue |
`Node`'s nodeValue.
| |
ParentId |
The id of the parent node if any.
| |
PseudoElements |
Pseudo elements associated with this node.
| |
PseudoType |
Pseudo element type for this node.
| |
PublicId |
`DocumentType`'s publicId.
| |
ShadowRoots |
Shadow root list for given element host.
| |
ShadowRootType |
Shadow root type.
| |
SystemId |
`DocumentType`'s systemId.
| |
TemplateContent |
Content document fragment for template elements.
| |
Value |
`Attr`'s value.
| |
XmlVersion |
`Document`'s XML version in case of XML documents.
|