matches
Description
The matches of Element for JS returns true if matching selectors against element’s root yields element; otherwise false.
Syntax
element.matches(selectors)
Parameters
selectors
Patterns that match elements in a tree structure.
The matches of Element for JS returns true if matching selectors against element’s root yields element; otherwise false.
element.matches(selectors)
Patterns that match elements in a tree structure.