Dart API Reference
dart:html
Element
matchesWithAncestors
matchesWithAncestors
method
Checks if this element or any of its parents match the CSS selectors.
@Experimental()
bool
matchesWithAncestors
(
String
selectors
)
Checks if this element or any of its parents match the CSS selectors.