Skip to content
Permalink
Browse files

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

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

Closes #10302
  • Loading branch information
philippd authored and caitp committed Dec 2, 2014
1 parent 429938d commit c8c9bbc412f00624bd591f33348560ad49ec2038
Showing with 5 additions and 0 deletions.
  1. +5 −0 docs/content/guide/css-styling.ngdoc
@@ -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

0 comments on commit c8c9bbc

Please sign in to comment.
You can’t perform that action at this time.