O'Reilly logo

Building UIs with Wijmo by Yuguang Zhang

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

Introduction to Knockout

Knockout is a JavaScript library that implements the MVVM pattern. By using Knockout, you can avoid event handling and DOM manipulation with jQuery and work with declarative bindings instead. Knockout comes with a rich set of bindings for controlling the text, appearance, and flow. These include foreach, if, visiblility, and style bindings. In addition, there are specific bindings for working with form fields. They can be used to handle click events and to enable or disable UI elements. These bindings are bound to an observable or an observableArray object in the ViewModel. An observable issues notifications when their value changes. Knockout provides a simple syntax for reading and writing from an observable, as we will ...

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