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

Function wireStemChoiceButtons

static/js/main.js:62–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62function wireStemChoiceButtons() {
63 refreshStemChoiceVisuals();
64 for (const btn of document.querySelectorAll(".stem-choice[data-stem]")) {
65 btn.addEventListener("click", () => handleStemChoiceClick(btn.dataset.stem));
66 }
67}
68
69function wireAllButton() {
70 const allBtn = document.getElementById("stemAllBtn");

Callers 1

main.jsFile · 0.85

Calls 2

refreshStemChoiceVisualsFunction · 0.85
handleStemChoiceClickFunction · 0.85

Tested by

no test coverage detected