Skip to content

hoadv/vue-sidebar-group-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

The vue side bar group tree

image

Installation

npm i vue-sidebar-group-tree

Using

vue-sidebar-group-tree v-bind:items="categories" v-bind:item-id="categoryId" v-bind:sub-item-id="subcategoryId" v-bind:setting="setting">

this.$events.on('selectedItemFired', this.updateCategory);

this.$events.on('selectedSubItemFired', this.updateSubCategory);

categories = [ { id: 1, name: 'Category 1', subitems: [ { id: 1, name: 'SubCategory 1' } ] } ]

categoryId: null,

subcategoryId: null,

setting: {title: 'The title'}

Sample

Refer to sample\ex

Releases

No releases published

Packages

No packages published

Languages