mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
docs: update method table (#4511)
This commit is contained in:
@@ -143,9 +143,9 @@ Use `active-color` prop to custom active color of the title and options
|
||||
|
||||
Use ref to get DropdownItem instance and call instance methods
|
||||
|
||||
| Name | Attribute | Return value | Description |
|
||||
| Name | Description | Attribute | Return value |
|
||||
|------|------|------|------|
|
||||
| toggle | show: boolean | - | Toggle display |
|
||||
| toggle | Toggle display | show: boolean | - |
|
||||
|
||||
### Data Structure of Option
|
||||
|
||||
|
@@ -147,9 +147,9 @@ export default {
|
||||
|
||||
通过 ref 可以获取到 DropdownItem 实例并调用实例方法
|
||||
|
||||
| 方法名 | 参数 | 返回值 | 介绍 |
|
||||
| 方法名 | 说明 | 参数 | 返回值 |
|
||||
|------|------|------|------|
|
||||
| toggle | show: boolean | - | 切换菜单是否展示 |
|
||||
| toggle | 切换菜单是否展示 | show: boolean | - |
|
||||
|
||||
### Option 数据结构
|
||||
|
||||
|
Reference in New Issue
Block a user