With something like the following how can I determine which of the three properties has changed without resorting to something tedious like printing out all the values each time, or creating three separate observers?
variableObserver: Ember.observer('variable.{name,value,type}', function() {
// which property changed?
}),
Aucun commentaire:
Enregistrer un commentaire