matchesSelector method

bool matchesSelector(
  1. String selector
)

Implementation

bool matchesSelector(String selector) =>
    (_node != null && matches(_node as dom.Element, selector)) || name == selector;