Vue.js 1.0.11 发布,JavaScript 框架
欢迎加入运维网交流群:263444886Vue.js 1.0.11 发布,更新如下:
新增
[*] Vue.set(obj, key, val) now returns the set value.
[*] Inline statement handlers for a v-on on component custom events now has access to the special $arguments property:
// inside my-component// parent's `handle` method gets 'hello!' as the argumentthis.$emit('some-event', 'hello!')
修复
[*] #1929 fix character escaping in expressions
[*] #1935 fix parsing expressions with dynamic subpath in the form of ['prefix'+i+'suffix']
[*]
#1946 fix transclusion>
[*]
#1960 fix>
[*] #1965 (1) fix defaultnot rendering correct content when another named slot is present, and when both slots are inside a v-if fragment.
[*] #1965 (2) fix defaultnot rendering fallback content when all other content has been selected by named slots.
[*] #1966 fix $destroy(true) not triggering "detached" hook on nested children (@tgeorgiev)
[*] #1985 fix v-model checkbox/radio initial value issue (only happens with the combination of v-for and Chrome's overly-smart back button input state restoration behavior)
[*] #1995 fix Observer error when using vue-router in Android 5.0 (should be a bug in Android 5.0 but we can work around it)
下载页面:1.0.11
Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。
主要特性:
[*] 可扩展的数据绑定
[*] 将普通的 JS 对象作为 model
[*] 简洁明了的 API
[*] 组件化 UI 构建
[*] 配合别的库使用
支持的浏览器:https://saucelabs.com/u/vuejs
页:
[1]