Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observing, pub/sub, or other events? #59

Open
jeffwillden opened this issue Apr 5, 2014 · 1 comment
Open

Observing, pub/sub, or other events? #59

jeffwillden opened this issue Apr 5, 2014 · 1 comment

Comments

@jeffwillden
Copy link

How do you observe model changes, so if the value of a property on a model changes, it triggers an event for (e.g.) DOM updates?

@michael
Copy link
Member

michael commented Apr 8, 2014

You can listen to different events on the graph.. like when an operation has been applied.. or when a property has been updated.

See: https://github.com/substance/data/blob/master/tests/004-graph-events.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants