parent property
@JSName('parentElement')
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
@JSName('parentElement') /** * 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](https://developer.mozilla.org/en-US/docs/Web/API/Node.parentElement) * from W3C. */ Element? get parent native;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/Node/parent.html