mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
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:
committed by
Caitlin Potter
parent
429938da1f
commit
c8c9bbc412
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user