1.0.7 • Published 6 years ago
flower-toast v1.0.7
flower-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.
##转场动画,加载效果动画,使用说明
##首先init你的vue项目
npm install flower-toast --save
##在mian里面引入 import xxxx from 'flower-toast' Vue.use(xxxx)
##在你的vue components组件template里面加入标签
##在data里面加入options参数,animates为指定动画效果 (bounceIn bounceInDown bounceInLeft bounceInRight bounceInUp bounceOut bounceOutDown bounceOutLeft bounceOutRight bounceOutUp. bounce flash pulse rubberBand shake headShake swing tada wobble jello.) 请参考animate里面的class属性
data () {
return {
options: {
animates: "bounceIn"
}
}
}
##如果想要将转场加载效果关掉,请将options置空