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

Detect change event #71

Closed
nyrnzn opened this issue Dec 10, 2015 · 1 comment
Closed

Detect change event #71

nyrnzn opened this issue Dec 10, 2015 · 1 comment

Comments

@nyrnzn
Copy link

nyrnzn commented Dec 10, 2015

I wanted to implement this library to an angularjs project I'm currently working on but I got stuck when I couldn't respond to a change event. Is there any way I could know if a different option has been selected? Or is there any other way to detect the change in the controller?

@jseppi
Copy link
Owner

jseppi commented Dec 10, 2015

In your controller, you can use $scope.$watch('ddSelectSelected', function (newVal, oldVal) {})

@jseppi jseppi closed this as completed Dec 10, 2015
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