BorisMoore / jsviews

Interactive data-driven views, MVVM and MVP, built on top of JsRender templates
http://www.jsviews.com/#jsviews
MIT License
857 stars 130 forks source link

Consider supporting $.observe with computed properties in paths. #292

Closed BorisMoore closed 9 years ago

BorisMoore commented 9 years ago

e.g. $.observe(app, "a^b.getData().getPeople(index+1).address.street", cb);

and also

e.g. $.observe(app, "a^b.getData()people[index].address.street", cb);

For the moment add to docs that this is not supported. Similar paths are supported in template bindings, though e.g. data-link="a^b.getData().getPeople(index+1).address.street"

http://www.jsviews.com/#explore/objectsorvm already does partially document this after the last sample.

BorisMoore commented 9 years ago

See https://github.com/BorisMoore/jsviews/issues/160

BorisMoore commented 9 years ago

Closing "After V1.0" issues for now - to reopen as appropriate.