.. | ||
index.stories.js | ||
README.md |
Tree: TreeMenu
Usage
import { TreeMenu } from 'asc-web-components';
Description
Tree menu description
Usage
<TreeMenu data={data}/>;
Properties
Props | Type | Required | Values | Default | Description |
---|---|---|---|---|---|
checkable |
bool |
- | - | false |
Whether support checked |
draggable |
bool |
- | - | false |
Whether can drag treeNode |
disabled |
bool |
- | - | false |
Whether disabled the tree |
multiple |
bool |
- | - | false |
Whether multiple select |
showIcon |
bool |
- | - | true |
Whether show icon |
showLine |
bool |
- | - | false |
Whether show line |
autoExpandParent |
bool |
- | - | false |
Whether auto expand parent treeNodes |
defaultExpandAll |
bool |
- | - | false |
Expand all treeNodes |
defaultExpandParent |
bool |
- | - | true |
Auto expand parent treeNodes when init |