MCPcopy Index your code
hub / github.com/stemdeckapp/stemdeck / triggerDownload

Function triggerDownload

static/mobile/app.js:324–331  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

322}
323
324function triggerDownload(url) {
325 const a = document.createElement("a");
326 a.href = url;
327 a.download = "";
328 document.body.appendChild(a);
329 a.click();
330 a.remove();
331}
332
333function exportMix(kind) {
334 const id = state.current?.id;

Callers 1

exportMixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected