官术网_书友最值得收藏!

  • Mastering KnockoutJS
  • Timothy Moran
  • 131字
  • 2021-08-05 17:13:13

Summary

In most of this chapter, we reviewed the use of standard Knockout. Hopefully, I didn't lose you in the weeds back there. The important thing is that before we move on to extending Knockout with custom functionality or building larger applications, you must feel comfortable with the basic use of observables and data binding. This includes:

  • Defining viewmodels: This includes creating observables, binding functions, and handling serialization
  • Writing bindings: This includes using properties, expressions, inline functions, and when to use parentheses
  • Extenders: This includes creating extenders and extending observables
  • Templates: This tells us how the flow of control works, what a binding context is, inline versus named templates, and containerless control flow

In the next chapter, we will be adding new functionalities to Knockout by creating our own binding handlers.

主站蜘蛛池模板: 崇明县| 渑池县| 嘉义市| 阿图什市| 大连市| 鄂伦春自治旗| 和平区| 墨玉县| 乳山市| 久治县| 从化市| 永泰县| 商河县| 沐川县| 大同市| 丁青县| 吕梁市| 洪湖市| 泽库县| 温宿县| 大方县| 浏阳市| 辰溪县| 射洪县| 手游| 青冈县| 岳西县| 缙云县| 通辽市| 黄大仙区| 盖州市| 庐江县| 黄骅市| 合阳县| 新邵县| 桐乡市| 赣州市| 阜康市| 新余市| 哈巴河县| 康定县|