6. Elevator pitch
⢠Open source JavaScript library (MIT
license)
⢠Community Project
⢠Clean underlying data model
⢠MVVM design pattern
⢠Steve Sanderson
⢠Microsoft Program Manager - ASP.NET
8. Browser support
⢠Mozilla Firefox 2.0+
⢠Google Chrome
⢠Microsoft Internet Explorer 6, 7, 8
⢠Apple Safari
⢠Opera 10 for Windows
9. Browser support - Validation
⢠Simply download the source code
⢠Open /spec/runner.html on the
browser.
⢠>300 behavioral specifications tested
⢠A report of any problems
⢠Demo
15. How to use it?
HTML
<script type="text/javascript" src="../js/knockout-latest.jsâ />
<input data-bind="value: userName" />
16. How to use it?
HTML
<script type="text/javascript" src="../js/knockout-latest.jsâ />
<input data-bind="value: userName" />
JavaScript
var ViewModel = function (userName) {
this.userName = ko.observable(userName);
}
ko.applyBindings(new ViewModel("Tom Van Gaever"));