1.0.2 • Published 7 years ago

shadow-toast v1.0.2

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

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