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 c1804d0 commit bbcbb7fCopy full SHA for bbcbb7f
readme.md
@@ -80,3 +80,30 @@ You can provide a single button within an object, or an array of buttons.
80
],
81
});
82
```
83
+
84
+### All Options
85
+```javascript
86
+new SimpleToast({
87
+ title: '',
88
+ text: '',
89
+ buttons: [...button] || {
90
91
+ className: '',
92
+ css: {},
93
+ onclick() {},
94
+ },
95
+ footer: '',
96
97
+ css: {
98
+ toast: {},
99
+ title: {},
100
+ button: {},
101
102
+ timeout: 0,
103
+ onClose(reason, toast) {},
104
+});
105
106
+SimpleToast.version; // Version in number form
107
+SimpleToast.versionString; // Readable string of version
108
+SimpleToast.count(); // Numer of toasts open
109
+```
0 commit comments