matches() DOM method
matches() DOM method
Method of testing whether or not a DOM element matches a given selector. Formerly known (and largely supported with prefix) as matchesSelector.
Spec | https://dom.spec.whatwg.org/#dom-element-matches |
---|---|
Status | WHATWG Living Standard |
IE | Edge | Firefox | Chrome | Safari | Opera |
---|---|---|---|---|---|
5
|