设为首页收藏本站

LUPA开源社区

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

Vue.js 0.12.10发布,轻量级JavaScript库

2015-8-10 22:40| 发布者: joejoe0332| 查看: 1039| 评论: 0|原作者: oschina|来自: oschina

摘要: Vue.js 0.12.10 发布,此版本更新内容如下:改进Support one staticoptioninsideselectwithv-model+ dynamic options:selectv-model="selectedUser"options="users"optionvalue=""Selectauser.../option/selectThis ...

Vue.js 0.12.10 发布,此版本更新内容如下:

改进

  • Support one static <option> inside <select> with v-model + dynamic options:

    <select v-model="selectedUser" options="users">  <option value="">Select a user...</option></select>

    This static option will be selected by default if the v-model value is falsy (excluding 0). Options created from users will be appended after the default option.

  • Dynamic component wait-for listeners are now attached in the component's createdhook, thus firing the event synchronously in compiled hook will now properly trigger the DOM insertion.

Bug 修复

  • template parser now trims empty textNodes from <script> templates, avoiding unnecessarily turning components into fragment mode.

  • #1109 mustach tags inside <textarea> are interpolated only once

  • #1116 transition hangs when immediately leaving after entering

  • #1117 synchronously calling done in leave transition hook causes error

  • #1118 nested <template> not rendering in Safari

  • #1119 out-in transition mode not working as desired when switching faster than transition duration.

  • #1124 number attribute param for v-model not respected on <input type="radio">.

下载:https://github.com/yyx990803/vue/archive/0.12.10.zip

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

主要特性:

  • 可扩展的数据绑定

  • 将普通的 JS 对象作为 model

  • 简洁明了的 API

  • 组件化 UI 构建

  • 配合别的库使用


支持的浏览器:https://saucelabs.com/u/vuejs


酷毙

雷人

鲜花

鸡蛋

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

最新评论

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

返回顶部