parentNode property
The Node.parentNode read-only property returns the parent of the specified node in the DOM tree.
Implementation
ContainerNode? get parentNode => parentOrShadowHostNode;
The Node.parentNode read-only property returns the parent of the specified node in the DOM tree.
ContainerNode? get parentNode => parentOrShadowHostNode;