docs: update method table (#4511)

This commit is contained in:
neverland
2019-09-20 10:26:54 +08:00
committed by GitHub
parent 0c38d4af6e
commit 76ac9f71d1
26 changed files with 103 additions and 103 deletions

View File

@@ -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

View File

@@ -147,9 +147,9 @@ export default {
通过 ref 可以获取到 DropdownItem 实例并调用实例方法
| 方法名 | 参数 | 返回值 | 介绍 |
| 方法名 | 说明 | 参数 | 返回值 |
|------|------|------|------|
| toggle | show: boolean | - | 切换菜单是否展示 |
| toggle | 切换菜单是否展示 | show: boolean | - |
### Option 数据结构