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

Make angular dirty checking work #54

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

nerk
Copy link

@nerk nerk commented Sep 15, 2015

Dirty checking is currently not working. This PR attaches global event listeners to the document which are triggered before any model values are changed and saves the current interaction element. If a value change later occurs on the same element, the $dirty flag is set.

(Simply adding an event listener directly to elements does not work because the value change happens before the event is triggered.)

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.

1 participant