RequiredValidatorlink
A Directive that adds the required validator to any controls marked with the required attribute, via the NG_VALIDATORS binding.
该指令会借助 NG_VALIDATORS 绑定把 required 验证器添加到任何带 required 属性的控件上。
选择器
输入参数
required 绑定到 RequiredValidator.required 说明
Example
例子
属性
| 属性名 | 类型 | 说明 |
|---|---|---|
| required |
方法
参数
返回值
|
参数
返回值
|