1.0.2 • Published 7 years ago
vue-toast-long v1.0.2
vue-toast-long
A mobile toast plugin for vue.
Introduction
A mobile toast plugin for vue.
Useage
//first import plugin
import VueToast from 'vue-toast-long'
//and register the plugin on vue.
Vue.use(VueToast)
//last , you can call it .
this.$toast.show('正在加载中,请稍后...',1500)
or
this.$toast.success('正在加载中,请稍后...',()=>{ alert(1); })
or
this.$toast.otherSuccess({ msg:'正在加载中,请稍后...', time:2000, success:function () { alert(2); } })