mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-21 13:59:15 +08:00
docs(ActionSheet): add callback (#8072)
This commit is contained in:
parent
3da3dfe7dd
commit
3db2610931
@ -185,14 +185,15 @@ export default {
|
||||
|
||||
### Data Structure of Action
|
||||
|
||||
| Key | Description | Type |
|
||||
| --------- | ---------------------------- | --------------------------- |
|
||||
| name | Title | _string_ |
|
||||
| subname | Subtitle | _string_ |
|
||||
| color | Text color | _string_ |
|
||||
| className | className for the option | _string \| Array \| object_ |
|
||||
| loading | Whether to be loading status | _boolean_ |
|
||||
| disabled | Whether to be disabled | _boolean_ |
|
||||
| Key | Description | Type |
|
||||
| --------- | ------------------------------- | --------------------------- |
|
||||
| name | Title | _string_ |
|
||||
| subname | Subtitle | _string_ |
|
||||
| color | Text color | _string_ |
|
||||
| className | className for the option | _string \| Array \| object_ |
|
||||
| loading | Whether to be loading status | _boolean_ |
|
||||
| disabled | Whether to be disabled | _boolean_ |
|
||||
| callback | Callback function after clicked | _action: Action_ |
|
||||
|
||||
### Events
|
||||
|
||||
|
@ -209,6 +209,7 @@ export default {
|
||||
| className | 为对应列添加额外的 class | _string \| Array \| object_ |
|
||||
| loading | 是否为加载状态 | _boolean_ |
|
||||
| disabled | 是否为禁用状态 | _boolean_ |
|
||||
| callback | 点击时触发的回调函数 | _action: Action_ |
|
||||
|
||||
### Events
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user