MCPcopy Index your code
hub / github.com/github/awesome-copilot / toast

Function toast

extensions/java-modernization-studio/renderer.mjs:217–223  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

215 );
216
217 function toast(msg) {
218 const t = $("#toast");
219 t.textContent = msg;
220 t.classList.add("show");
221 clearTimeout(toast._t);
222 toast._t = setTimeout(() => t.classList.remove("show"), 2600);
223 }
224
225 function statusBadge(status) {
226 const map = {

Callers 2

loadStateFunction · 0.85
doActionFunction · 0.85

Calls 1

$Function · 0.85

Tested by

no test coverage detected