发布于 2016-01-12 02:54:59 | 185 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Vue.js 教程,程序狗速度看过来!

Vue.js 轻量级 JavaScript 框架

Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。


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)



历史版本 :
Vue 2.5.12 和 2.5.13 发布,轻量级 JavaScript 框架
VueJS 2.5.0 "Level E" 发布,做了许多改进
Vue 2.4.2 发布,轻量级 JavaScript 框架
Vue 2.4.0 和 2.4.1 发布,轻量级 JavaScript 框架 
Vue 2.3.4 正式发布,轻量级 JavaScript 框架 
Vue 2.3.3 正式发布,轻量级 JavaScript 框架 
Vue 2.3.2 发布,轻量级 JavaScript 框架
Vue 2.3.0 正式发布,轻量级 JavaScript 框架
Vue 2.3.0-beta.1 发布,轻量级 JavaScript 框架
Vue 2.2.6 发布,轻量级 JavaScript 框架
Vue 2.2.5 发布,轻量级 JavaScript 框架
Vue 2.2.3 和 2.2.4 发布,轻量级 JavaScript 框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务