Book Image

Mastering KnockoutJS

By : Timothy Moran
Book Image

Mastering KnockoutJS

By: Timothy Moran

Overview of this book

Table of Contents (16 chapters)
Mastering KnockoutJS
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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.