Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit c8c9bbc

Browse files
philippdcaitp
authored andcommitted
docs(guide/Working With CSS): ng-touched/untouched
Add description for ng-touched and ng-untouched CSS classes. Closes #10302
1 parent 429938d commit c8c9bbc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/content/guide/css-styling.ngdoc

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ Angular sets these CSS classes. It is up to your application to provide useful s
2828
- **Usage:** angular {@link ng.directive:input input} directive applies `ng-pristine` class
2929
to a new input widget element which did not have user interaction. Once the user interacts with
3030
the input widget the class is changed to `ng-dirty`.
31+
32+
* `ng-touched`, `ng-untouched`
33+
- **Usage:** angular {@link ng.directive:ngModel ngModel} directive applies `ng-untouched` class
34+
to a new input widget element which has not been blurred. Once the user blurs the input widget
35+
the class is changed to `ng-touched`.
3136

3237

3338
## Related Topics

0 commit comments

Comments
 (0)