MCPcopy Create free account
hub / github.com/alignoth/alignoth / pz

Function pz

resources/vega.min.js:29310–29318  ·  view source on GitHub ↗
(t, e, n, r)

Source from the content-addressed store, hash-verified

29308 (t.set = (t) => (i.value = t)));
29309 }
29310 function pz(t, e, n, r) {
29311 const i = { type: "checkbox", name: n.signal };
29312 r && (i.checked = !0);
29313 const o = sz("input", i);
29314 (e.appendChild(o),
29315 o.addEventListener("change", () => t.update(o.checked)),
29316 (t.elements = [o]),
29317 (t.set = (t) => (o.checked = !!t || null)));
29318 }
29319 function gz(t, e, n, r) {
29320 const i = sz("select", { name: n.signal }),
29321 o = n.labels || [];

Callers

nothing calls this directly

Calls 2

szFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected