1.0.8 • Published 5 years ago
vue-toast-k v1.0.8
vue-toast-k
a mobile toast plugin for vue.
Usage
The global
import VueToast from 'vue-toast-k'
js.use(VueToast)
Can be called in a component
this.$toast.show("hello")
You can customize the time delay to close
this.$toast.show("hello",{
time:2000, //default 1000ms
callback:function(){
alert('success')
}
})