Polyfill for Element.prototype.matches, which is sometimes still prefixed.
Source
bool elementMatches(String selector, Element node) =>
jsElement.callMethod('elementMatches', [selector, node]);
Polyfill for Element.prototype.matches, which is sometimes still prefixed.
bool elementMatches(String selector, Element node) =>
jsElement.callMethod('elementMatches', [selector, node]);