Skip to content

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.

2 participants