parent property

Element parent
@DocsEditable(), @DomName('Node.parentElement'), @JSName('parentElement'), final

The parent element of this node.

Returns null if this node either does not have a parent or its parent is not an element.

Other resources

Node.parentElement from W3C.

Implementation

final Element parent