设为首页收藏本站

LUPA开源社区

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

Vue v2.0.0-alpha.6发布,轻量级JavaScript框架

2016-6-23 22:21| 发布者: joejoe0332| 查看: 654| 评论: 0|原作者: oschina|来自: oschina

摘要: Vue v2.0.0-alpha.6 发布了,Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。更新内容:NewNow works with vue-devtools 2.0.0Properly support number keyCo ...

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

更新内容:

New

  • Now works with vue-devtools 2.0.0

  • Properly support number keyCodes and custom keyCodes in v-on. Custom keyCodes can be defined in Vue.config.keyCodes:

    1
    Vue.config.keyCodes.a = 65
    1
    <input @keyup.a="aPressed">
  • The binding object in custom directive hooks now exposes the raw expression as a string:

    1
    <div v-custom="msg"></div>
    1
    2
    3
    Vue.directive('custom', {  bind (el, binding) {    console.log(binding.expression) // "msg"
      }
    })

Fixed

  • #3133 Fixed computed properties dependency collection error

  • #3137 Fixed template error detection incorrectly detecting keywords

  • Fixed output for undefined and null values for v-model

  • Fixed unary tags handling in single-file component parser


酷毙

雷人

鲜花

鸡蛋

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

最新评论

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

返回顶部