Are the binding functions synchronous at knockout.js?
Would I get always the data in my getDeliveryNote
function in this example?
function myModel(){
var self = this;
self.orders = ko.observable();
self.selectAndClick = function(data){
self.orders(data);
self.getDeliveryNote();
}
self.getDeliveryNote(){
console.log(self.orders()); // would i ALWAYS get the data here?
}
}