vue-login-adder
Version:
a confirm plugin for vue
30 lines (18 loc) • 556 B
Markdown
#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
})