docs: update version tag
This commit is contained in:
+17
-17
@@ -110,26 +110,26 @@ Use `active-color` prop to custom active color of the title and options
|
||||
|
||||
### DropdownMenu Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| active-color | Active color of title and option | *string* | `#1989fa` | - |
|
||||
| z-index | z-index of menu item | *number* | `10` | - |
|
||||
| duration | Transition duration, unit second | *number* | `0.2` | - |
|
||||
| direction | Expand direction, can be set to `up` | *string* | `down` | 2.0.1 |
|
||||
| overlay | Whether to show overlay | *boolean* | `true` | - |
|
||||
| close-on-click-overlay | Whether to close when click overlay | *boolean* | `true` | - |
|
||||
| close-on-click-outside | Whether to close when click outside | *boolean* | `true` | 2.0.7 |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| active-color | Active color of title and option | *string* | `#1989fa` |
|
||||
| z-index | z-index of menu item | *number* | `10` |
|
||||
| duration | Transition duration, unit second | *number* | `0.2` |
|
||||
| direction `v2.0.1` | Expand direction, can be set to `up` | *string* | `down` |
|
||||
| overlay | Whether to show overlay | *boolean* | `true` |
|
||||
| close-on-click-overlay | Whether to close when click overlay | *boolean* | `true` |
|
||||
| close-on-click-outside `v2.0.7` | Whether to close when click outside | *boolean* | `true` |
|
||||
|
||||
### DropdownItem Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| value | Value of current option,can use `v-model` | *string \| number* | - | - |
|
||||
| title | Item title | *string* | Text of selected option | - |
|
||||
| options | Options | *Option[]* | `[]` | - |
|
||||
| disabled | Whether to disable dropdown item | *boolean* | `false` | - |
|
||||
| title-class | Title class | *string* | - | - |
|
||||
| get-container | Return the mount node for menu | *string \| () => Element* | - | 2.2.4 |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| value | Value of current option,can use `v-model` | *string \| number* | - |
|
||||
| title | Item title | *string* | Text of selected option |
|
||||
| options | Options | *Option[]* | `[]` |
|
||||
| disabled | Whether to disable dropdown item | *boolean* | `false` |
|
||||
| title-class | Title class | *string* | - |
|
||||
| get-container `v2.2.4` | Return the mount node for menu | *string \| () => Element* | - |
|
||||
|
||||
### DropdownItem Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user