ng-polymer-elements icon indicating copy to clipboard operation
ng-polymer-elements copied to clipboard

Make angular dirty checking work

Open nerk opened this issue 9 years ago • 0 comments

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.)

nerk avatar Sep 15 '15 15:09 nerk