Vue.js 1.0.11 發布,JavaScript 框架
Vue.js 是構建 Web 界面的 JavaScript 庫,提供數據驅動的組件,還有簡單靈活的 API,使得 MVVM 更簡單。
主要特性:
-
可擴展的數據綁定
</li> -
將普通的 JS 對象作為 model
</li> -
簡潔明了的 API
</li> -
組件化 UI 構建
</li> -
配合別的庫使用
</li> </ul>支持的瀏覽器:https://saucelabs.com/u/vuejs
Vue.js 1.0.11 發布,更新如下:
新增
-
</li>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:<my-component @some-event="handle($arguments[0])"></my-component>
// inside my-component// parent's `handle` method gets 'hello!' as the argumentthis.$emit('some-event', 'hello!')
</li> </ul>修復
-
#1929 fix character escaping in expressions
</li> -
#1935 fix parsing expressions with dynamic subpath in the form of
</li>['prefix'+i+'suffix']
-
#1946 fix transclusion class merging in IE9
</li> -
#1960 fix class interpolations not working with transitions
</li> -
#1965 (1) fix default
</li><slot>
not rendering correct content when another named slot is present, and when both slots are inside av-if
fragment. -
#1965 (2) fix default
</li><slot>
not rendering fallback content when all other content has been selected by named slots. -
#1966 fix
</li>$destroy(true)
not triggering "detached" hook on nested children (@tgeorgiev) -
#1985 fix
</li>v-model
checkbox/radio initial value issue (only happens with the combination ofv-for
and Chrome's overly-smart back button input state restoration behavior) -
#1995 fix Observer error when using
</li> </ul>vue-router
in Android 5.0 (should be a bug in Android 5.0 but we can work around it)下載頁面:1.0.11
來自:http://www.oschina.net/news/68886/vue-js-1-1-1
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
-
-