MCPcopy
hub / github.com/stemdeckapp/stemdeck / toast

Function toast

static/mobile/app.js:349–361  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

347
348let _toastTimer = null;
349function toast(msg) {
350 let el = document.getElementById("m-toast");
351 if (!el) {
352 el = document.createElement("div");
353 el.id = "m-toast";
354 el.className = "m-toast";
355 document.body.appendChild(el);
356 }
357 el.textContent = msg;
358 el.classList.add("show");
359 clearTimeout(_toastTimer);
360 _toastTimer = setTimeout(() => el.classList.remove("show"), 2400);
361}
362
363function mainWaveform() {
364 const N = 56;

Callers 5

openTrackFunction · 0.85
exportMixFunction · 0.85
startExtractionFunction · 0.85
_onExtractStateFunction · 0.85
deleteTrackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected