MCPcopy Create free account
hub / github.com/stemdeckapp/stemdeck / syncAllBtn

Function syncAllBtn

static/js/main.js:73–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 if (!allBtn) return;
72
73 function syncAllBtn() {
74 allBtn.setAttribute("aria-pressed", String(selectedStems.size === STEM_NAMES.length));
75 }
76
77 allBtn.addEventListener("click", () => {
78 const allSelected = selectedStems.size === STEM_NAMES.length;

Callers 1

wireAllButtonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected