printer-notifications/node_modules/@skeletonlabs/skeleton/dist/utilities/Toast/ToastTest.svelte

13 lines
326 B
Svelte
Raw Normal View History

2023-11-13 21:10:04 +00:00
<script>import { initializeToastStore, getToastStore } from "./stores.js";
import Toast from "./Toast.svelte";
export let toastSettings = [];
export let max = void 0;
initializeToastStore();
const toastStore = getToastStore();
toastSettings.forEach((element) => {
toastStore.trigger(element);
});
</script>
<Toast {max} />