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

Custom event variable, to know if checkbox was checked or unchecked #128

Closed

Conversation

Tessmore
Copy link

@Tessmore Tessmore commented Mar 2, 2016

checklist-change event allows a custom function call, but you don't know if the user clicked the checkbox to "check" it or "uncheck" it. With this pull request you can.

I think #127 kind of wants this, but in the checklist-change-before function? Not entirely sure.

@beradrian
Copy link
Collaborator

For this you can use the checked scope variable or whatever you specify with ngModel. Check this out: http://jsfiddle.net/s3p9q6zj/

@beradrian beradrian closed this Mar 2, 2016
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