Summary
This chapter was all about how to extend Knockout's binding process and modify its syntax. We covered three ways of doing this:
- Binding Preprocessors: This is used to modify binding strings before binding handlers run
- Node Preprocessors: This is used to modify the DOM before the binding starts
- Binding Providers: This is used to control what bindings are applied to each DOM node
Finally, we looked at the Knockout.Punches
plugin to see some real-world Knockout extensions.
In the next chapter, we will cover Knockout's web component features, which let you tie view and viewmodel together into reusable controls.