Yeah, I got that it was an Ember thing, the get and set part, but I’m sure some of the way that is put together is influenced by JavaScript’s strange prototypical syntax. And maybe not, the useable part of your post is that using get and set triggers the data binding to stay in synch. That is cool, and I get now why you want the getters and setters however strange they appear.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Save a dashed model | 0 | 821 | April 14, 2016 | |
Looking for an example of a grid and form | 4 | 905 | January 10, 2021 | |
Would like a small example application, if anyone wants to do it
|
1 | 1007 | August 26, 2013 | |
Ember data: Is there a smart way to deal with very simple embedded objects
|
6 | 4338 | July 20, 2014 | |
Computed property failing to update and failing to remove item from array
|
4 | 1360 | October 12, 2014 |