tree-node
v1.1.32arrow_drop_downv1.1.32
STATUS
Passing
DOWNLOADS
56
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
2 KB
1 contributor
Like
Install tree-node as a package?
Copied
npm i @bit/myliang.fish-ui.tree-node
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
Properties
Name | Type | Default value | Description |
---|---|---|---|
selected-key | String |
| |
multiple | Boolean | false | |
expand | Boolean | false | |
data (required) | Array |
| |
data-key-map | Object |
| [{title: '’, key: '’, children: '’, checked: false}] |
edited | Boolean | false | {key: [state, [[key, state]]} |
icon-caret-right | String | fa fa-caret-right | |
icon-caret-down | String | fa fa-caret-down | |
on-item-checked | Function | (item) => {} | |
on-item-dblclick | Function | (item) => {} | |
on-item-click | Function | (item) => {} | |
on-item-remove | Function | (data, item, index) => {} | |
on-item-render | Function | (item) => item.title |