Tuesday, November 17, 2015

A first look at Knockout

Here is another javascript library similar to Angular. I have heard about this for years and now getting my hands on it. This thing is pretty cool with its data-bind thing.

Excellent example from: http://www.knockmeout.net/2011/04/utility-functions-in-knockoutjs.html So you bind attributes with variables and get auto refresh and set observable things. Yes, it may be hair pulling if something not done right.

Changed the example above to something simpler.

Name Country
Add Item

Filter display by name

Filter:

Filter display by country

Filter:

Find first match by name

Search:

No comments: