1.0.0 • Published 5 years ago
vue-login-adder v1.0.0
#vue-toast-smalldemo
Introduction
a mobile toast plugin for vue
Usage
//first import plugin
import VueToast from 'vue-toast-smalldemo'
//and register the plugin on vue.
Vue.use(VueToast)
//last , you can call it .
this.$toast.show("hello,toast")
or
this.$toast.show("hello,toast",{
duration:3000
})
or
this.$toast.show("hello,toast",function(){
//to-do
})
1.0.0
5 years ago