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

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.

主站蜘蛛池模板: 新疆| 怀来县| 承德县| 普兰店市| 巴南区| 黑河市| 泰宁县| 宁陵县| 宜章县| 阿坝县| 卢龙县| 资兴市| 高要市| 长春市| 南投市| 勃利县| 宜良县| 海城市| 靖边县| 胶南市| 嘉黎县| 谷城县| 峨山| 体育| 夏津县| 紫阳县| 苗栗市| 兴城市| 南木林县| 西丰县| 恩平市| 谷城县| 吉水县| 屏山县| 镇原县| 海南省| 葫芦岛市| 鄂伦春自治旗| 双辽市| 古交市| 沁水县|