Skip to content

Commit

Permalink
docs(radio): update
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Dec 15, 2023
1 parent a0b4ff1 commit e7ce20a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/packages/__VUE/radio/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,47 +19,47 @@ app.use(RadioGroup);

通过 `v-model` 绑定某个选项的 `label` 字段。`nut-radio` 必须与 `nut-radio-group` 相结合进行使用。

> demo: radio basic
> demo: radio basic dentry
### 水平方向

通过 `direction` 设置方向,默认值为 `vertical`,可设置为 `horizontal`

> demo: radio horizontal
> demo: radio horizontal dentry
### 禁用状态

> demo: radio disabled
> demo: radio disabled dentry
### 自定义图标

> demo: radio icon
> demo: radio icon dentry
### 左侧文本

通过 `text-position` 设置文本位置,默认值为 `right`,可设置为 `left`

> demo: radio position
> demo: radio position dentry
### 图标尺寸

> demo: radio icon-size
> demo: radio icon-size dentry
### 设置形状

通过 `shape` 设置 Radio 形状,默认值为 `round`,可设置为 `button`

> demo: radio shape
> demo: radio shape dentry
### 自定义按钮尺寸 v4.2.4

通过 `size` 设置 Radio 大小,仅在 `shape``button` 时生效。

> demo: radio size
> demo: radio size dentry
### 触发事件

> demo: radio event
> demo: radio event dentry
## API

Expand Down

0 comments on commit e7ce20a

Please sign in to comment.