MCPcopy
hub / github.com/QwikDev/qwik / querySelectorAll

Function querySelectorAll

packages/qwik/src/qwikloader.ts:35–39  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

33const nativeQuerySelectorAll = (root: ParentNode, selector: string) =>
34 Array.from(root.querySelectorAll(selector));
35const querySelectorAll = (query: string) => {
36 const elements: Element[] = [];
37 roots.forEach((root) => elements.push(...nativeQuerySelectorAll(root, query)));
38 return elements;
39};
40const findShadowRoots = (fragment: EventTarget & ParentNode) => {
41 processEventOrNode(fragment);
42 nativeQuerySelectorAll(fragment, '[q\\:shadowroot]').forEach((parent) => {

Callers 2

broadcastFunction · 0.85
processReadyStateChangeFunction · 0.85

Calls 1

nativeQuerySelectorAllFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…