Knockout makes it easier to create rich, responsive UIs with JavaScript
Knockout makes it easier to create rich, responsive UIs with JavaScript
Knockout is a JavaScript MVVM (a modern variant of MVC) library that makes it easier to create rich, desktop-like user interfaces with JavaScript and HTML. It uses observers to make your UI automatically stay in sync with an underlying data model, along with a powerful and extensible set of declarative bindings to enable productive development.
Totally new to Knockout? The most fun place to start is the online interactive tutorials.
For more details, see
You can download released versions of Knockout from the project's website.
For Node.js developers, Knockout is also available from npm - just run npm install knockout.
If you prefer to build the library yourself:
Clone the repo from GitHub
git clone https://github.com/knockout/knockout.git
cd knockoutAcquire build dependencies.
Make sure you have Node.js and Java installed on your workstation. These are only needed to build Knockout from sources. Knockout itself has no dependency on Node.js or Java once it is built (it works with any server technology or none). Now run:
npm installRun the build tool
npm run gruntNow you'll find the built files in build/output/.
To run a single task, use --
npm run grunt -- build:debugnpm test # All tests (Node.js + headless Chrome)
npm run test:node # Node.js non-DOM specs only
npm run test:browser # Headless Chrome specs only
npm run grunt # Build and test against production outputFor interactive debugging, open spec/runner.html in your browser.
MIT license - https://www.opensource.org/licenses/mit-license.php
Update from 3.4.1 to 3.5.3 broke value binding on dynamically-created select element
HTML5 video controls are not working when using with knockout component
Trigger change event on value binding
Code changes to make updating from 2.x to 3.5.1 (latest) easier
better implementation in ko.utils.setDomNodeChildren
Server-side rendering
Massive performance problem with dependencies.
Looking for knockout-postbox alternative options
remove jquery.tmpl support
Templates don't work with SVG