mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
breaking change: rename get-container to teleport
This commit is contained in:
@@ -143,7 +143,7 @@ Use `active-color` prop to custom active color of the title and options
|
||||
| disabled | Whether to disable dropdown item | _boolean_ | `false` |
|
||||
| lazy-render `v2.8.5` | Whether to lazy render util opened | _boolean_ | `true` |
|
||||
| title-class | Title class | _string_ | - |
|
||||
| get-container `v2.2.4` | Return the mount node for menu | _string \| () => Element_ | - |
|
||||
| teleport `v2.2.4` | Return the mount node for menu | _string \| Element_ | - |
|
||||
|
||||
### DropdownItem Events
|
||||
|
||||
|
@@ -147,7 +147,7 @@ export default {
|
||||
| disabled | 是否禁用菜单 | _boolean_ | `false` |
|
||||
| lazy-render `v2.8.5` | 是否在首次展开时才渲染菜单内容 | _boolean_ | `true` |
|
||||
| title-class | 标题额外类名 | _string_ | - |
|
||||
| get-container `v2.2.4` | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | _string \| () => Element_ | - |
|
||||
| teleport `v2.2.4` | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | _string \| Element_ | - |
|
||||
|
||||
### DropdownItem Events
|
||||
|
||||
|
Reference in New Issue
Block a user