()
| 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() { |