- 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.
推薦閱讀
- Web前端開發技術:HTML、CSS、JavaScript(第3版)
- Vue.js快跑:構建觸手可及的高性能Web應用
- Java從入門到精通(第4版)
- OpenStack Cloud Computing Cookbook(Fourth Edition)
- HTML5游戲開發案例教程
- Raspberry Pi 2 Server Essentials
- Access 2016數據庫管
- Oracle JDeveloper 11gR2 Cookbook
- Unity Game Development Scripting
- PHP 7+MySQL 8動態網站開發從入門到精通(視頻教學版)
- Python+Tableau數據可視化之美
- RubyMotion iOS Develoment Essentials
- 石墨烯改性塑料
- Penetration Testing with the Bash shell
- Python大規模機器學習