shadow-toast
v1.0.2
Published
A Vue.js project
Downloads
1
Readme
vue-shadow-toast
A Vue.js project
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.
#toast插件
#使用方法
import xx from shadow-toast
Vue.use(xx)
#调用
this.$shadowToast({
tips: '坑可真多',
defaultType: 'top',
duration: '3500'
});
#参数
1.tips:传的message
2.defaultType:默认位置 目前可选top,center,bottom.不传默认center
3.duration:持续时间,不传默认3000