shakee93 / vue-toasted

🖖 Responsive Touch Compatible Toast plugin for VueJS 2+
https://shakee93.github.io/vue-toasted/
MIT License
2.21k stars 194 forks source link

fail to set option singleton by `this.$toasted.show(text, {singleton: true})` #126

Closed clevergod closed 5 years ago

clevergod commented 5 years ago

version: "1.1.26"

this.$toasted.show(text, {singleton: true}) doesn't work import Toasted from 'vue-toasted' Vue.use(Toasted, {singleton: true}) is work

shakee93 commented 5 years ago

it is intended to work that way. singleton should be added on init.