We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a5bdb commit 73cefe9Copy full SHA for 73cefe9
README.md
@@ -60,9 +60,9 @@ import { SvelteToast, toast } from `@zerodevx/svelte-toast'
60
const app = new SvelteToast({
61
// Set where the toast container should be appended into
62
target: document.body,
63
- // Optionally set default options here
64
props: {
65
options: {
+ // Optionally set default options here
66
...
67
}
68
@@ -89,7 +89,7 @@ Or if you prefer to go old-school javascript and a CDN:
89
toast.push('Hello world!');
90
91
</script>
92
- <script async src="https://cdn.jsdelivr.net/npm/@zerodevx/svelte-toast@0" onload="registerToast()"></script>
+ <script defer src="https://cdn.jsdelivr.net/npm/@zerodevx/svelte-toast@0" onload="registerToast()"></script>
93
</head>
94
```
95
0 commit comments