• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
木子Ru
博客园 首页 新随笔 联系 订阅 订阅 管理

2019年3月26日

Vue中transition和animation的使用
摘要: 一:二者的对比 1.动画循环就用animation。在animation中有一个animation-iteration-count属性可以定义循环次数。transition是执行一次以后就不会执行,但是可以通过transitionEnd事件添加循环,与animation相比animation更加简单 阅读全文
posted @ 2019-03-26 22:23 木子Ru 阅读(9050) 评论(0) 推荐(0)
 
Vue的生命周期
摘要: 一. vue对象的生命周期 1). 初始化显示 * beforeCreate() * created() * beforeMount() * mounted() beforeCreate() { console.log('beforeCreate()') }, created() { c... 阅读全文
posted @ 2019-03-26 22:06 木子Ru 阅读(182) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3