ngModel.NgModelController.$setTouched()

$setTouched();

Sets the control to its touched state.

This method can be called to remove the ng-untouched class and set the control to its touched state (ng-touched class). A model is considered to be touched when the user has first focused the control element and then shifted focus away from the control (blur event).

doc_AngularJS
2016-03-29 16:12:16
Comments
Leave a Comment

Please login to continue.