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

csv-export plugin: custom data watcher #854

Merged
merged 2 commits into from Dec 3, 2013

Conversation

zacronos
Copy link

There are situations where the built-in watcher doesn't (or can't) notice when the data has changed. In addition, naively trying to watch for changed data can be inefficient compared with code that really knows when it has changed.

This change adds a new option, customDataWatcher. This is a function whose return value is appropriate to $watch in order to detect changes to the data; this allows apps using csv-export to specify the best way to detect changed data.

roblarsen added a commit that referenced this pull request Dec 3, 2013
csv-export plugin: custom data watcher
@roblarsen roblarsen merged commit 0367ef7 into angular-ui:master Dec 3, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants