Organization Tree Component For Vue.js 2.x

Description:

A dynamic, expandable, horizontal/vertical organization tree component for Vue.js 2.x.

Usage:

import Vue from 'vue'
import OrgTree from 'vue-org-tree'

Default props.

data: {
  type: Object,
  required: true
},
props: {
  type: Object,
  default: () => ({
    label: 'label',
    expand: 'expand',
    children: 'children'
  })
},
horizontal: Boolean,
collapsable: Boolean,
renderContent: Function,
labelWidth: [String, Number],
labelClassName: [Function, String]

Preview:

Organization Tree Component For Vue.js 2.x

Download Details:

Author: hukaibaihu

Live Demo: https://hukaibaihu.github.io/vue-org-tree/

Download Link: https://github.com/hukaibaihu/vue-org-tree/archive/master.zip

Official Website: https://github.com/hukaibaihu/vue-org-tree

Last Update: December 20, 2017

Install:

# Yarn
$ yarn add vue-org-tree

# NPM
$ npm install vue-org-tree --save

You Might Be Interested In:

Add Comment