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

Method selectMatches

www/js/_hyperscript.js:2005–2008  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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