Areson edited this page Apr 25, 2012 · 1 revision

A fleshed-out implementation of the pausable observables for both array and non-array versions, based on the the work done by Ryan Niemeyer.


You can use this extension to add the ability to temporarily hault Knockout from updating bindings associated with observables by applying the extension to that observables.

var myObservable = ko.observable().extend({pauseable: true});


//Updating the value will not cause any bindings to be updated

//Now the bindings will be updated

The extension also works for Observable Arrays, and includes support for all of the native and Knockout specific array functions.