vue之vue与animate.css动画结合
来源:互联网 发布:东北人快手低俗知乎 编辑:程序博客网 时间:2024/05/20 03:41
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>vue-动画</title> <script src="https://unpkg.com/vue@2.5.9/dist/vue.js"></script> <script src="https://unpkg.com/lodash@4.13.1/lodash.min.js"></script> <link href="https://cdn.bootcss.com/animate.css/3.5.2/animate.css" rel="stylesheet"> <style> .box { width: 100px; height: 100px; background: red; } </style></head><body><div id="box"> <input type="button" @click="toggle" value="切换"> <transition name="custom-classes-transition" enter-active-class="animated tada" leave-active-class="animated bounceOutRight"> <div v-show="ee" class="animated box"></div> </transition></div><script> var vm = new Vue({ delimiters: ['[[', ']]'], el: '#box', data: { ee: true }, methods: { toggle: function () { this.ee = !this.ee } } })</script></body></html>
阅读全文
1 0
- vue之vue与animate.css动画结合
- vue和animate.css怎么结合使用
- Vue自定义动画和animate.css使用
- vue 和animate.css 的动画使用
- VUE引用animate.css动画库
- vue路由+子路由+具名路由demo实例(结合animate.css动画)
- Vue之Animate
- 三六、vue中使用animate.css
- 动画学习之Animate.css
- Vue之过渡动画
- 动画学习之Animate.css的使用与解析
- 动画学习之Animate.css的使用与解析
- PWA 与 vue 的结合
- Animate.css_动画学习之Animate.css的使用与解析
- Vue之过度(动画)
- vue动画
- Vue动画
- vue动画
- AC自动机
- python自学笔记(2)--数据类型
- PHP、Java、Python、C、C++ 这几种编程语言都各有什么特点或优点?
- eclipse远程调试tomcat中的项目
- salesforce 日常笔记----limit 方法
- vue之vue与animate.css动画结合
- 【目录篇】github企业级实战
- 阶乘除法的最后一位数
- Android:ListView.addHeaderView()用法及其注意事项
- 关于js用url传参数的问题
- 命令别名和历史命令
- 一致性 hash 算法( consistent hashing )
- 数字转换为汉语中人民币的大写
- FPGA跨时钟域处理数据总结