parent property

Element parent

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

Source

@DomName('Node.parentElement')
@DocsEditable()
Element get parent => _blink.BlinkNode.instance.parentElement_Getter_(this);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Node/parent.html