Wijmo UI for the Web
Knockout
Wijmo User Guide > Concepts > Integrating Frameworks > Knockout

Using Wijmo with Knockout

Wijmo now supports Knockout (KO), a JavaScript library that uses the Model View View Model (MVVM) pattern, allowing you to easily create and maintain a dynamically changing UI. You can use KO in addition to jQuery to enhance your pages with an underlying data model.

Be sure to check out our Knockout demo where you can explore how to use the Wijmo widgets with KO. And for a full KO introduction, tutorials, documentation, explanation of MVVM and more, visit http://knockoutjs.com/.

You can easily use Knockout with Wijmo by following a few simple steps:

  1. Add references to the latest jQuery dependencies, Wijmo widgets, Knockout .js file, and KO extension library for Wijmo.
  2. Create the ViewModel and View: add JavaScript to define the data and behavior of the UI, and add markup to create the View—the visual, interactive UI.
  3. Bind the Wijmo widget(s) to the ViewModel and activate KO.

Getting Started

To get started, take a look at the following topics. The two walkthroughs show you how to add references to the required files, create the ViewModel and View, and bind the Wijmo widgets, while the Two-Way Live Binding topic details options available for each widget that automatically respond to changes in data.

See Also