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

Function _queryEltAndDescendants

www/js/_hyperscript.esm.js:3746–3750  ·  view source on GitHub ↗
(elt, selector)

Source from the content-addressed store, hash-verified

3744 }
3745}
3746function _queryEltAndDescendants(elt, selector) {
3747 var results = [...elt.querySelectorAll?.(selector) ?? []];
3748 if (elt.matches?.(selector)) results.unshift(elt);
3749 return results;
3750}
3751
3752// src/core/runtime/htmx-compat.js
3753var HtmxCompat = class _HtmxCompat {

Callers 1

_createIdMapsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected