Vue.js 1.0.3 发布,1.0.2版本不被推荐,请关注 1.0.3,更新内容如下:
New
v-bindnow support accepting an object without arguments, which would allow dynamic binding of multiple attributes:<div v-bind="{ id: someProp, 'other-attr': otherProp }"></div>Note when using this syntax to bind
classandstyle, only plain string values would work.limitByfilter:Limit the array to the first N items, as specified by the argument.
<!-- only display first 10 items --><div v-for="item in items | limitBy 10"></div>
Fixed
#1479
filterByshould no longer return duplicate objects when using multiple search keys.User-defined component names should no longer be overwritten by option key names.
Fix edge case for
v-for="(key, val) in obj"syntax where the key could be falsy. (@vprimachenko)#1639 Fix
titleas prop edge case in IE10/11 (@fergaldoyle)
下载页面:1.0.3
Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。
主要特性:
可扩展的数据绑定
将普通的 JS 对象作为 model
简洁明了的 API
组件化 UI 构建
配合别的库使用
支持的浏览器:https://saucelabs.com/u/vuejs
引用来自“Tom-Lin”的评论
有错误,马上修改并更新发布,有什么不好吗?引用来自“chenshao”的评论
有错误再来修复bug,谁不会啊……重要的是多测试,保证不轻易出bug。
引用来自“Tom-Lin”的评论
有错误,马上修改并更新发布,有什么不好吗?重要的是多测试,保证不轻易出bug。