docs(API): 翻译完了几个表单控件类
This commit is contained in:
parent
2408128394
commit
e436d6972b
|
@ -18,8 +18,8 @@
|
||||||
[x] |core/Input | 3,354 | 1.04
|
[x] |core/Input | 3,354 | 1.04
|
||||||
[x] |core/EventEmitter | 3,202 | 0.99
|
[x] |core/EventEmitter | 3,202 | 0.99
|
||||||
[x] |core/Injectable | 3,177 | 0.99
|
[x] |core/Injectable | 3,177 | 0.99
|
||||||
[ ] |forms/FormGroup | 3,096 | 0.96
|
[x] |forms/FormGroup | 3,096 | 0.96
|
||||||
[ ] |forms/FormControl | 3,034 | 0.94
|
[x] |forms/FormControl | 3,034 | 0.94
|
||||||
[ ] |router/ActivatedRoute | 2,993 | 0.93
|
[ ] |router/ActivatedRoute | 2,993 | 0.93
|
||||||
[ ] |forms/AbstractControl | 2,930 | 0.91
|
[ ] |forms/AbstractControl | 2,930 | 0.91
|
||||||
[ ] |router/RouterLink | 2,929 | 0.91
|
[ ] |router/RouterLink | 2,929 | 0.91
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
[ ] |common/SlicePipe | 799 | 0.25
|
[ ] |common/SlicePipe | 799 | 0.25
|
||||||
[ ] |router/Event | 796 | 0.25
|
[ ] |router/Event | 796 | 0.25
|
||||||
[ ] |common/JsonPipe | 793 | 0.25
|
[ ] |common/JsonPipe | 793 | 0.25
|
||||||
[ ] |forms/FormArray | 792 | 0.25
|
[x] |forms/FormArray | 792 | 0.25
|
||||||
[ ] |common/CommonModule | 787 | 0.24
|
[ ] |common/CommonModule | 787 | 0.24
|
||||||
[ ] |router/NavigationExtras | 776 | 0.24
|
[ ] |router/NavigationExtras | 776 | 0.24
|
||||||
[x] |core/HostBinding | 732 | 0.23
|
[x] |core/HostBinding | 732 | 0.23
|
||||||
|
|
|
@ -25,13 +25,13 @@
|
||||||
{% elseif not showType and parameter.type %}<p>Type: <code>{$ parameter.type $}</code>.</p>
|
{% elseif not showType and parameter.type %}<p>Type: <code>{$ parameter.type $}</code>.</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if parameter.isOptional or parameter.defaultValue !== undefined %}Optional. Default is `{$ parameter.defaultValue === undefined and 'undefined' or parameter.defaultValue $}`.{% endif %}
|
{% if parameter.isOptional or parameter.defaultValue !== undefined %}可选. 默认值是 `{$ parameter.defaultValue === undefined and 'undefined' or parameter.defaultValue $}`.{% endif %}
|
||||||
{% endmarked %}
|
{% endmarked %}
|
||||||
</td>
|
</td>
|
||||||
</tr>{% endfor %}
|
</tr>{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
<p>There are no parameters.</p>
|
<p>没有参数。</p>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
|
@ -17,6 +17,8 @@ import {FormBuilder} from './form_builder';
|
||||||
/**
|
/**
|
||||||
* The ng module for forms.
|
* The ng module for forms.
|
||||||
*
|
*
|
||||||
|
* 模板驱动表单的 NgModule。
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: TEMPLATE_DRIVEN_DIRECTIVES,
|
declarations: TEMPLATE_DRIVEN_DIRECTIVES,
|
||||||
|
@ -29,6 +31,8 @@ export class FormsModule {
|
||||||
/**
|
/**
|
||||||
* The ng module for reactive forms.
|
* The ng module for reactive forms.
|
||||||
*
|
*
|
||||||
|
* 响应式表单的 NgModule。
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [REACTIVE_DRIVEN_DIRECTIVES],
|
declarations: [REACTIVE_DRIVEN_DIRECTIVES],
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue