O'Reilly logo

Mastering KnockoutJS by Timothy Moran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required