1.1.8 • Published 5 years ago
hxj-mobile-toas v1.1.8
hxj-mobile-toast
A mobile toast plugin for vue.
Introduction
A mobile toast plugin for vue.
Useage
It's simple.
//first import plugin
import VueToast from 'hxj-mobile-toast'
//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.1.8
5 years ago