docs(forms): update and re-organize validation guide

This commit is contained in:
Kara Erickson
2017-08-01 16:09:57 -07:00
committed by Victor Berchet
parent e7e7622971
commit 732eb61957
20 changed files with 299 additions and 1010 deletions

View File

@ -38,7 +38,16 @@ export const ngControlStatusHost = {
/**
* Directive automatically applied to Angular form controls that sets CSS classes
* based on control status (valid/invalid/dirty/etc).
* based on control status. The following classes are applied as the properties
* become true:
*
* * ng-valid
* * ng-invalid
* * ng-pending
* * ng-pristine
* * ng-dirty
* * ng-untouched
* * ng-touched
*
* @stable
*/