KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is it possible in knockout to get the current value of an observable within a subscription to that observable, before it receives the new value? Example: this.myObservable = ko.observable(); this.myObservable.subscribe(function(newValue){ //I'd like to get the previous value of 'myObservable' here before it's set to newValue });
Tags (comma-separated)
Save Edits
Cancel