Simplify dynamic JavaScript UIs by applying the Model-View-View Model (MVVM) pattern

Download

v2.1.0 - 14kb min+gz

Key concepts

More features

  • Free, open source (MIT license)
  • Pure JavaScript — works with any web framework
  • Small & lightweight — 40kb minified

    ... reduces to 14kb when using HTTP compression

  • No dependencies
  • Supports all mainstream browsers

    IE 6+, Firefox 2+, Chrome, Opera, Safari (desktop/mobile)

  • Fully documented

    API docs, live examples, and interative tutorials included

Get started

New: Interactive tutorials

Get started with knockout.js quickly, learning to build single-page applications, custom bindings and more with these interactive tutorials.

Live example

Run it:

Choose a ticket class:

You have chosen ($)

Source code:

By encapsulating data and behavior into a view model, you get a clean, extensible foundation on which to build sophisticated UIs without getting lost in a tangle of event handlers and manual DOM updates.