angular-cn/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade

35 lines
682 B
Plaintext

p.location-badge.
exported from <a href='../forms'>angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.34/modules/angular2/src/forms/directives/validators.ts#L11-L19">angular2/src/forms/directives/validators.ts (line 11)</a>
:markdown
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation Directive
pre.prettyprint
code.
@Directive({
selector: &#39;[required][ng-control],[required][ng-form-control],[required][ng-model]&#39;,
bindings: [requiredValidatorBinding]
})
.l-main-section
h2 Members
.l-sub-section
h3 validator
:markdown