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

Method selectMatches

www/js/_hyperscript.esm.js:2003–2006  ·  view source on GitHub ↗

@returns {NodeList} all elements matching this.css under the root node

()

Source from the content-addressed store, hash-verified

2001 }
2002 /** @returns {NodeList} all elements matching this.css under the root node */
2003 selectMatches() {
2004 var root = this._runtime.getRootNode(this.relativeToElement);
2005 return this._runtime.resolveQuery(root, this.css);
2006 }
2007};
2008var TemplatedQueryElementCollection = class extends ElementCollection {
2009 constructor(css, relativeToElement, templateParts, runtime2) {

Callers 2

lengthMethod · 0.45
[Symbol.iterator]Method · 0.45

Calls 2

getRootNodeMethod · 0.45
resolveQueryMethod · 0.45

Tested by

no test coverage detected