docs(guide/Working With CSS): ng-touched/untouched

Add description for ng-touched and ng-untouched CSS classes.

Closes #10302
This commit is contained in:
Philipp Denzler
2014-12-02 22:41:01 +01:00
committed by Caitlin Potter
parent 429938da1f
commit c8c9bbc412

View File

@@ -28,6 +28,11 @@ Angular sets these CSS classes. It is up to your application to provide useful s
- **Usage:** angular {@link ng.directive:input input} directive applies `ng-pristine` class
to a new input widget element which did not have user interaction. Once the user interacts with
the input widget the class is changed to `ng-dirty`.
* `ng-touched`, `ng-untouched`
- **Usage:** angular {@link ng.directive:ngModel ngModel} directive applies `ng-untouched` class
to a new input widget element which has not been blurred. Once the user blurs the input widget
the class is changed to `ng-touched`.
## Related Topics