MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / addChip

Function addChip

query-builder.js:59–67  ·  view source on GitHub ↗
(kind, raw)

Source from the content-addressed store, hash-verified

57 x.setAttribute("aria-label", "Remove");
58 x.textContent = "×";
59 x.dataset.kind = kind;
60 x.dataset.value = val;
61 chip.appendChild(x);
62 container.appendChild(chip);
63 });
64 }
65
66 function addChip(kind, raw) {
67 initState();
68 const v = raw == null ? "" : String(raw).trim();
69 if (!v) return;
70 const list = window.multiFilterChips[kind];

Callers 1

query-builder.jsFile · 0.85

Calls 2

initStateFunction · 0.85
renderChipsFunction · 0.85

Tested by

no test coverage detected