diff --git a/components/radio/demo/basic.ts b/components/radio/demo/basic.ts index 136bc46d31..3f2b87afd4 100644 --- a/components/radio/demo/basic.ts +++ b/components/radio/demo/basic.ts @@ -3,7 +3,7 @@ import { Component } from '@angular/core'; @Component({ selector: 'nz-demo-radio-basic', template: ` - + ` }) export class NzDemoRadioBasicComponent {} diff --git a/components/radio/doc/index.en-US.md b/components/radio/doc/index.en-US.md index f918e073c0..5cc198dbf7 100644 --- a/components/radio/doc/index.en-US.md +++ b/components/radio/doc/index.en-US.md @@ -48,6 +48,8 @@ radio group,wrap a group of `nz-radio`。 ### [nz-radio] +you can get `NzRadioComponent` via `ViewChild` + | Name | Description | | ---- | ----------- | | blur() | remove focus | diff --git a/components/radio/doc/index.zh-CN.md b/components/radio/doc/index.zh-CN.md index 73ddecaaa5..0430d99fdf 100644 --- a/components/radio/doc/index.zh-CN.md +++ b/components/radio/doc/index.zh-CN.md @@ -50,6 +50,8 @@ import { NzRadioModule } from 'ng-zorro-antd'; ### [nz-radio] +可以通过 `ViewChild` 等其他方式获取 `NzRadioComponent` 使用以下方法 + | 名称 | 描述 | | --- | --- | | blur() | 移除焦点 |