I am using knockout pausable from this page: https://github.com/Areson/Knockout-Extensions/wiki/Knockout.Pausable
It works perfectly on observables however I can’t get it to work with observable arrays. The array is declared as follows:
var itemModel = function () {
var me = this;
me.Key = ko.observable(0).extend({ pauseable: true });
me.Value = ko.observable('').extend({ pauseable: true });
};
me.testArray = ko.observableArray().extend({ pauseable: true });
when I use :
me.testArray.pause();
and
me.testArray.resume();
it does not have any effect.
Here is the link to JS fiddle with the full example:
http://jsfiddle.net/almir/TTsZ5/
Your help will be greatly appreciated.
I’m only assuming here, but pausing an observableArray will pause the binding of when you add or remove items, not when you modify the properties of the items in the array.