• 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
  • 相关阅读:
    Nodejs怎样在服务端写定时脚本,自动备份MongoDB数据库,并记录日志
    nodejs-websocket初使用
    CSS3的复习笔记
    ES6的新增特性
    Windows下初体验MongoDB数据库
    Node.js数据库的配置,封装query
    Nuxt+Vuex初体验
    Vue+Vuex初体验
    github二级域名配置
    钉钉静默安装
  • 原文地址:https://www.cnblogs.com/shihao/p/2746048.html
Copyright © 2020-2023  润新知