Skip to content

Commit

Permalink
docs(module:radio): update radio docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vthinkxie authored and vthinkxie committed Jun 22, 2019
1 parent a6500c8 commit b2ffd9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/radio/demo/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Component } from '@angular/core';
@Component({
selector: 'nz-demo-radio-basic',
template: `
<label nz-radio>Radio</label>
<label nz-radio ngModel>Radio</label>
`
})
export class NzDemoRadioBasicComponent {}
2 changes: 2 additions & 0 deletions components/radio/doc/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions components/radio/doc/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ import { NzRadioModule } from 'ng-zorro-antd';

### [nz-radio]

可以通过 `ViewChild` 等其他方式获取 `NzRadioComponent` 使用以下方法

| 名称 | 描述 |
| --- | --- |
| blur() | 移除焦点 |
Expand Down

0 comments on commit b2ffd9e

Please sign in to comment.