mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
feat(DropdownItem): title-class can be array or object type (#7926)
This commit is contained in:
@@ -158,7 +158,7 @@ Use `active-color` prop to custom active color of the title and options.
|
||||
| options | Options | _Option[]_ | `[]` |
|
||||
| disabled | Whether to disable dropdown item | _boolean_ | `false` |
|
||||
| lazy-render | Whether to lazy render util opened | _boolean_ | `true` |
|
||||
| title-class | Title class | _string_ | - |
|
||||
| title-class | Title class | _string \| string[] \| object_ | - |
|
||||
| teleport | Return the mount node for menu | _string \| Element_ | - |
|
||||
|
||||
### DropdownItem Events
|
||||
|
@@ -166,7 +166,7 @@ export default {
|
||||
| options | 选项数组 | _Option[]_ | `[]` |
|
||||
| disabled | 是否禁用菜单 | _boolean_ | `false` |
|
||||
| lazy-render | 是否在首次展开时才渲染菜单内容 | _boolean_ | `true` |
|
||||
| title-class | 标题额外类名 | _string_ | - |
|
||||
| title-class | 标题额外类名 | _string \| string[] \| object_ | - |
|
||||
| teleport | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | _string \| Element_ | - |
|
||||
|
||||
### DropdownItem Events
|
||||
|
Reference in New Issue
Block a user