omi/components/tree
dntzhang 71cfe9d506 fix(admin): fix a node create new tab 2021-07-05 17:19:21 +08:00
..
demos/js-demo feat(@omiu/tree): support hash route 2021-06-25 09:32:47 +08:00
scripts publish(@omiu/tree) 2020-05-16 13:10:39 +08:00
src fix(admin): fix a node create new tab 2021-07-05 17:19:21 +08:00
README.md publish(@omiu/tree) 2020-05-17 20:32:41 +08:00
package.json fix(admin): fix a node create new tab 2021-07-05 17:19:21 +08:00
tsconfig.json chore: remove o- 2020-04-19 22:24:19 +08:00
yarn.lock fix(@omiu/tree): b->block 2021-06-25 16:53:48 +08:00

README.md

Tree

Components that show tree nested data structures.

Import

import '@omiu/tree'

Or use script tag to ref it.

<script src="https://unpkg.com/@omiu/tree"></script>

Usage

<o-tree></o-tree>

API

Props

{
  data?: any[]
  padding: number
}

defaultProps

{
  padding: 10
}

Events

  • node-click
  • node-arrow-click
  • context-menu
  • action-icon-click
  • fold