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