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

Method selectMatches

www/js/_hyperscript-max.js:2004–2007  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

2002 }
2003 /** @returns {NodeList} all elements matching this.css under the root node */
2004 selectMatches() {
2005 var root = this._runtime.getRootNode(this.relativeToElement);
2006 return this._runtime.resolveQuery(root, this.css);
2007 }
2008 };
2009 var TemplatedQueryElementCollection = class extends ElementCollection {
2010 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