4 ms·
1. Just add a method to a model or collection that does the computation. Javascript allows you to add methods to any object. 2. Good Question.
by peregrine 15y ago
1. Just add a method to a model or collection that does the computation. Javascript allows you to add methods to any object.
2. Good Question.
- halayli 15y agoRight it does allow me to do that, but it doesn't get serialized and when a computed property depends on several attributes in the model, changing these attributes should also trigger the computed property change event.