Vue.js 1.0.11 發布,JavaScript 框架

jopen 9年前發布 | 21K 次閱讀 Vue.js

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 發布,更新如下:

    新增

    • Vue.set(obj, key, val) now returns the set value.

      </li>

    • 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 ['prefix'+i+'suffix']

        </li>

      • #1946 fix transclusion class merging in IE9

        </li>

      • #1960 fix class interpolations not working with transitions

        </li>

      • #1965 (1) fix default <slot> not rendering correct content when another named slot is present, and when both slots are inside a v-if fragment.

        </li>

      • #1965 (2) fix default <slot> not rendering fallback content when all other content has been selected by named slots.

        </li>

      • #1966 fix $destroy(true) not triggering "detached" hook on nested children (@tgeorgiev)

        </li>

      • #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)

        </li>

      • #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)

        </li> </ul>

        下載頁面:1.0.11


        來自:http://www.oschina.net/news/68886/vue-js-1-1-1

         本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
         轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
         本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!