zoukankan      html  css  js  c++  java
  • Knockout.js 2.2 发布,JavaScript UI 库

    Knockout.js 2.2 发布了,Knockout 是个JavaScript library,帮助创建丰富的显示和编辑器UI,通过干净的底层数据模型。你可以在任何时候动态更新UI的选择部分。

    Knockout.js 2.2 主要改进内容包括:

    • The with, if, and ifnot bindings have been enhanced to preserve their original DOM elements on initial binding, so they are lighter and won’t unnecessarily strip out any special behaviours inserted by third-party libraries. I know a lot of people asked for this.
    • The dependency detection mechanism is now smarter in many places to avoid registering subscriptions that would be unnecessary no-ops
    • Support for IE10 (well, we basically already supported it, but there was one edge-case issue with autocompletion that we fixed)
    • Improved AMD support (the ko variable is now available in the context of all custom binding handlers, even if it isn’t in global scope)
    • The text binding can now be used in a virtual element (e.g., <!--ko text: myValue--><!--/ko-->)
    • Observable and computed properties have a new peek function for advanced control over dependency detection
    • Bugfixes
  • 相关阅读:
    IT之光
    个人作业3——个人总结(Alpha阶段)
    结对编程2——单元测试
    个人作业2
    结对作业1
    个人作业1
    个人作业3——个人总结(Alpha阶段)
    结对编程2--单元测试
    个人作业2——英语学习APP案例分析
    结对编程1
  • 原文地址:https://www.cnblogs.com/shihao/p/2746048.html
Copyright © 2011-2022 走看看