设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Vue.js 1.0.14发布,轻量级JavaScript框架

2016-1-12 21:28| 发布者: joejoe0332| 查看: 873| 评论: 0|原作者: oschina|来自: oschina

摘要: Vue.js 1.0.14 发布,更新如下:新特性Transition definitions can now specify the type of CSS effect it should wait for, eithertransitionoranimation. This is only necessary in situations where you explic ...

Vue.js 1.0.14 发布,更新如下:

新特性

  • Transition definitions can now specify the type of CSS effect it should wait for, either transitionor animation. This is only necessary in situations where you explicitly want Vue's transition system to only care about one type while being able to use the other type. For example, you may want Vue's transition to be based on a CSS animation, but the element also has CSS transition effects on hover.

    Example:

    Vue.transition('fade', {
      type: 'animation' // only wait for `animationend` events. })
  • Transition definitions can now specify the enterClass and leaveClass for CSS-based transitions. This will override the conventional class names. Useful when you want to combine Vue's transition system with an existing CSS animation library, e.g. Animate.css.

    Example:

    Vue.transition('bounce', {
      type: 'animation',
      enterClass: 'bounceInLeft',
      leaveClass: 'bounceOutRight' })
    <div v-show="ok" class="animated" transition="bounce">
      Watch me bounce
    </div>

修复

  • #2083 avoid v-model with lazy firing twice on focus/blur

  • #2085 transclude class merging should skip interpolated class

  • #2097 one-time interpolations should now work properly inside attributes

  • #2100 fix evaluation errors when v-if is toggled with transitions

  • #2102 fix custom event propagation forwarding in inline statements (@rhyzx)

  • #2105 auto cast values to numbers in limitBy

  • #2118 fix literal value props with filters

  • #2137 allow empty expressions in terminal directives (@rhyzx)


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部