The duration in TimerMixin can't be set
Heromyth opened this issue · comments
Xueping commented
The settings for duration does not works:
app.use(plugin, {
component: TailwindComponent,
options: {
position: 'bottom-right',
duration: 10000 // The bug is here
},
})
Xueping commented
I have found it out:
createToast(status = 'base') {
this.$toasts[status](randomElement(messages), {
title: 'My toast title',
duration: 10000
})
},