mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
update doc
This commit is contained in:
parent
275bdaef1a
commit
6dade37aec
@ -33,7 +33,7 @@ dropdownMatchSelectWidth | Determine whether the dropdown menu and the select in
|
||||
size | To set the size of the select input, options: `large` `small` | string | 'default'
|
||||
showSearch | Whether to display a search input in the dropdown menu(valid only in the single mode) | boolean | false
|
||||
disabled | Disabled or not | boolean | false
|
||||
showCheckedStrategy | __Default:__ just show child nodes. __`TreeSelect.SHOW_ALL`:__ show all checked treeNodes (include parent treeNode). __`TreeSelect.SHOW_PARENT`:__ show checked treeNodes (just show parent treeNode). | enum{TreeSelect.SHOW_ALL, TreeSelect.SHOW_PARENT, TreeSelect.SHOW_CHILD } | TreeSelect.SHOW_CHILD
|
||||
showCheckedStrategy | The way show selected item in box. __Default:__ just show child nodes. __`TreeSelect.SHOW_ALL`:__ show all checked treeNodes (include parent treeNode). __`TreeSelect.SHOW_PARENT`:__ show checked treeNodes (just show parent treeNode). | enum { TreeSelect.SHOW_ALL, TreeSelect.SHOW_PARENT, TreeSelect.SHOW_CHILD } | TreeSelect.SHOW_CHILD
|
||||
treeDefaultExpandAll | Whether to expand all treeNodes by default | boolean | false
|
||||
treeDefaultExpandedKeys | Default expanded treeNodes | string[] | -
|
||||
treeCheckable | Whether to show checkbox on the treeNodes | boolean | false
|
||||
|
@ -32,7 +32,7 @@ title: TreeSelect
|
||||
| size | 选择框大小,可选 `large` `small` | string | 'default' |
|
||||
| showSearch | 在下拉中显示搜索框(仅在单选模式下生效) | boolean | false |
|
||||
| disabled | 是否禁用 | boolean | false |
|
||||
| showCheckedStrategy | `TreeSelect.SHOW_ALL`: 显示所有选中节点(包括父节点). `TreeSelect.SHOW_PARENT`: 只显示父节点(当父节点下所有子节点都选中时). 默认只显示子节点. | enum{TreeSelect.SHOW_ALL, TreeSelect.SHOW_PARENT, TreeSelect.SHOW_CHILD } | TreeSelect.SHOW_CHILD |
|
||||
| showCheckedStrategy | 定义选中项回填的方式。`TreeSelect.SHOW_ALL`: 显示所有选中节点(包括父节点). `TreeSelect.SHOW_PARENT`: 只显示父节点(当父节点下所有子节点都选中时). 默认只显示子节点. | enum{TreeSelect.SHOW_ALL, TreeSelect.SHOW_PARENT, TreeSelect.SHOW_CHILD } | TreeSelect.SHOW_CHILD |
|
||||
| treeDefaultExpandAll | 默认展开所有树节点 | boolean | false |
|
||||
| treeDefaultExpandedKeys | 默认展开的树节点 | string[] | - |
|
||||
| treeCheckable | 显示 checkbox | boolean | false |
|
||||
|
Loading…
Reference in New Issue
Block a user