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 f21bb8c commit fba1fb3Copy full SHA for fba1fb3
readme.md
@@ -90,19 +90,24 @@ const toast = new SimpleToast({
90
text: '',
91
className: '',
92
css: {},
93
- onclick() {
+ onclick(event, toast) {
94
// this; // toast reference
95
},
96
97
footer: '',
98
- className: '',
+ className: '' || [''] || {
99
+ toast: '' || [''],
100
+ button: '' || [''],
101
+ },
102
css: {
103
toast: {},
104
title: {},
105
button: {},
106
107
timeout: 0, // Close toast after # milliseconds
- onClose(reason, toast) {},
108
+ onClose(reason, toast) {
109
+ // this; // toast reference
110
111
});
112
113
// Methods on toast
0 commit comments