Top "Knockout.js" questions

Knockout.

How can I use knockout's $parent/$root pseudovariables from inside a .computed() observable?

Inside a knockout.js binding expression, I can use the $data, $parent, and $root pseudovariables. How can I get the …

javascript knockout.js
Binding true / false to radio buttons in Knockout JS

In my view model I have a IsMale value that has the value true or false. In my UI I …

javascript knockout.js knockout-mapping-plugin knockout-2.0
Subscribe to observable array for new or removed entry only

So yes I can subscribe to an observable array: vm.myArray = ko.observableArray(); vm.myArray.subscribe(function(newVal){...}); The problem …

javascript knockout.js knockout-2.0
success callback after knockout.js finishes rendering all the elements

I have implemented a knockout foreach binding, with multiple templates in the same page, one of the example is given …

jquery foreach knockout.js
Detecting change to Knockout view model

Sure this is a very easy question to answer but is there an easy way to determine if any property …

javascript knockout.js
Knockout.js get dom object associated with data

I'm working with knockout.js to build dynamic lists and I'm trying to figure out how I can get the …

jquery dom knockout.js
Call a function on enter key press

How to call a function using knockout.js when enter key is pressed.. here is my code below. ko.bindingHandlers.…

knockout.js
How to create an auto-complete combobox?

Does any one know the best way to create an autocomplete combobox with Knockout JS templates? I have the following …

javascript jquery knockout.js
Determine if an object property is ko.observable

I'm using KnockoutJS version 2.0.0 If I'm looping through all properties of an object, how can I test whether each property …

javascript knockout.js
Knockout.js incredibly slow under semi-large datasets

I'm just getting started with Knockout.js (always wanted to try it out, but now I finally have an excuse!) …

javascript performance knockout.js