Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 76028

Angular Directive to subscribe to class attribute change on an HTMLInput?

$
0
0

I'm working with reactive forms and I want to know when its api sets a class on an Input (ng-untouched ng-pristine ng-invalid).

I have tried with angular HostListener ('change', 'keydown', 'input', etc) decorator, but it doesn't handle all the class changes (when I reset the form, for example)


Viewing all articles
Browse latest Browse all 76028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>