matches static method

bool matches(
  1. Element root,
  2. String selector
)

Returns true if the given element matches the given CSS selector.

Implementation

external static bool matches(Element root, String selector);