vue-toast-cyan
v0.0.5
Published
a toast plugin for mobile
Readme
vue-toast-cyan
a mobile toast plugin for vue.
Usage
//first import plugin
import VueToast from 'vue-toast-cyan';
//and register the plugin on vue.
Vue.use(VueToast);
//last , you can call it .
this.$toast.show("hello,toast_show");
this.$toast.success("hello,toast_success");
this.$toast.info("hello,toast_info");
this.$toast.error("hello,toast_error");
// or
this.$toast.show("hello,toast",{
duration:3000
});
// or
this.$toast.show("hello,toast",function(){
//to-do
}); show
- 弹出toast_show弹框

- 弹出toast_success弹框

- 弹出toast_info弹框

- 弹出toast_error弹框

