DocSpace-buildtools/web/ASC.Web.Components/example/stories/tree/tree-menu/base
2019-06-11 15:00:02 +03:00
..
index.stories.js web: components: init Tree component 2019-06-11 15:00:02 +03:00
README.md web: components: init Tree component 2019-06-11 15:00:02 +03:00

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

Main Functions and use cases are: