MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / value

Function value

src/components/toast/index.js:35–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 Object.defineProperties($toast, {
34 hide: {
35 value() {
36 this.classList.add("hide");
37 setTimeout(() => {
38 this.remove();
39 const $toast = toastQueue.splice(0, 1)[0];
40 if ($toast) $toast.show();
41 }, 500);
42 },
43 },
44 show: {
45 value() {

Callers

nothing calls this directly

Calls 5

addMethod · 0.80
appendMethod · 0.80
removeMethod · 0.45
showMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected