vue2-toast
A mobile toast plugin for vue2.
Usage
Install:
npm install vue2-toast -S
Import:
or
Use in component:
work in Nuxt.js
config it in nuxt.config.js
options
Vue.use(Toast, [options])
- defaultType : position of Toast. | String | default: 'bottom' | possible 'top, center,bottom'
- duration : Number | default 2500ms
- wordWrap : word wrap. | Boolean | default: false
- width : width of Toast. | String | default: 'auto'
source code
download in Github.