docs: add missing @ngModule tags (#25734)

PR Close #25734
This commit is contained in:
Pete Bacon Darwin
2018-09-08 17:53:53 +01:00
committed by Kara Erickson
parent b94436d86c
commit 927323f24e
23 changed files with 53 additions and 61 deletions

View File

@ -131,7 +131,8 @@ export const CHECKBOX_REQUIRED_VALIDATOR: StaticProvider = {
* <input name="fullName" ngModel required>
* ```
*
*
* @ngModule FormsModule
* @ngModule ReactiveFormsModule
*/
@Directive({
selector:
@ -172,6 +173,8 @@ export class RequiredValidator implements Validator {
* ```
*
* @experimental
* @ngModule FormsModule
* @ngModule ReactiveFormsModule
*/
@Directive({
selector:
@ -207,6 +210,8 @@ export const EMAIL_VALIDATOR: any = {
* ```
*
* @experimental
* @ngModule FormsModule
* @ngModule ReactiveFormsModule
*/
@Directive({
selector: '[email][formControlName],[email][formControl],[email][ngModel]',
@ -254,7 +259,8 @@ export const MIN_LENGTH_VALIDATOR: any = {
* A directive which installs the `MinLengthValidator` for any `formControlName`,
* `formControl`, or control with `ngModel` that also has a `minlength` attribute.
*
*
* @ngModule FormsModule
* @ngModule ReactiveFormsModule
*/
@Directive({
selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',
@ -306,7 +312,8 @@ export const MAX_LENGTH_VALIDATOR: any = {
* A directive which installs the `MaxLengthValidator` for any `formControlName`,
* `formControl`, or control with `ngModel` that also has a `maxlength` attribute.
*
*
* @ngModule FormsModule
* @ngModule ReactiveFormsModule
*/
@Directive({
selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',
@ -361,6 +368,8 @@ export const PATTERN_VALIDATOR: any = {
* <input [name]="fullName" pattern="[a-zA-Z ]*" ngModel>
* ```
*
* @ngModule FormsModule
* @ngModule ReactiveFormsModule
*/
@Directive({
selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',