I found this gist to detect changes on specified fiels of a object : https://gist.github.com/3138469
But it bind an event only on one field.
Someone know a f
This is currently not possible, you can only define getters/setters for individual properties.
Yet, there is a draft for Proxy objects which could do that. Today, it is only supported in Firefox' Javascript 1.8.5.