npm.io
0.2.0 • Published 3 years ago

vxe-tree

Licence
MIT
Version
0.2.0
Deps
1
Size
84 kB
Vulns
0
Weekly
0
Stars
10

vxeTree

A powerful tree component for Vue3

Installing

Install with npm:

npm install vxe-tree

Import in your project:

import vxeTree from 'vxe-tree';

//import the styles
import 'vxe-tree/dist/index.css';

Vue.use(vxeTree);

Add .d.ts file:

declare module 'vxe-tree'

Features

  • Lazy-loading
  • Checkbox selection
  • Disabled and Default state
  • Custom icons
  • Search filtering
  • Virtual scrolling
  • Drag and drop functionality
  • Action buttons

Please refer to the documentation for specific usage

Theme customization

After introducing the default styles, introduce your own styles

:root {
  --vxe-brand: red; //checkBox style
  --vxe-list-item-selected-bg: blue; //selected style
  --vxe-list-item-hover-bg: yellow; //hover style
}

License

MIT License 2023 mengqiuleo

Keywords