a mobile toast plugin for vue
import ToastDemo from 'vue-toast-apple'
Vue.use(ToastDemo);
//弹出 "hello toast" 的提示 this.$toast.show("hello toast",{});
//延迟3秒后弹出 "hello toast" 的提示 this.$toast.show("hello toast",{ duration:3000 });
//回调函数 this.$toast.show("hello toast",{ duration:3000 },function(){ //... });