MCPcopy
hub / github.com/box-icons/boxicons / scanAndReplace

Function scanAndReplace

src/auto.ts:10–15  ·  view source on GitHub ↗
(root: Element | Document = document)

Source from the content-addressed store, hash-verified

8 * This uses all available icons - for tree-shaking, use createIcons instead.
9 */
10export function scanAndReplace(root: Element | Document = document): void {
11 getIcons({
12 icons: allIcons as unknown as IconsRecord,
13 root,
14 });
15}
16
17/**
18 * Set up a MutationObserver to automatically process new elements

Callers 1

initFunction · 0.85

Calls 1

getIconsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…