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

Function nativeQuerySelectorAll

packages/qwik/src/qwikloader.ts:33–34  ·  view source on GitHub ↗
(root: ParentNode, selector: string)

Source from the content-addressed store, hash-verified

31let hasInitialized: number;
32
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)));

Callers 2

querySelectorAllFunction · 0.85
findShadowRootsFunction · 0.85

Calls 1

querySelectorAllMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…