MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / matchesSelector

Method matchesSelector

tools/common/_hyperscript.iife.js:2662–2664  ·  view source on GitHub ↗
(elt, selector)

Source from the content-addressed store, hash-verified

2660 // DOM operations
2661 // =================================================================
2662 matchesSelector(elt, selector) {
2663 return elt.matches && elt.matches(selector);
2664 }
2665 makeEvent(eventName, detail) {
2666 var evt = new Event(eventName, { bubbles: true, cancelable: true, composed: true });
2667 evt["detail"] = detail;

Callers 1

processNodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected