Gathering detailed insights and metrics for @fishtank/vue-treeselect
Gathering detailed insights and metrics for @fishtank/vue-treeselect
Fish Tank Design and Component System - Vue Tree Select component
npm install @fishtank/vue-treeselect
Typescript
Module System
Node Version
NPM Version
JavaScript (78.03%)
Vue (11.43%)
Less (10.54%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
11,669
Last Day
4
Last Week
5
Last Month
70
Last Year
577
45 Commits
1 Forks
4 Watching
5 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
0.3.1
Package Id
@fishtank/vue-treeselect@0.3.1
Unpacked Size
806.43 kB
Size
180.81 kB
File Count
64
NPM Version
6.14.15
Node Version
14.18.1
Cumulative downloads
Total Downloads
Last day
33.3%
4
Compared to previous day
Last week
-73.7%
5
Compared to previous week
Last month
337.5%
70
Compared to previous month
Last year
-60.7%
577
Compared to previous year
7
1
80
A multi-select component with nested options support for Vue.js; Forked from Vue-treeselect
Requires Vue 2.2+
It's recommended to install vue-treeselect via npm, and build your app using a bundler like webpack.
1npm install --save @fishtank/vue-treeselect
This example shows how to integrate the fishtank vue-treeselect with your Vue SFCs.
1<!-- Vue SFC --> 2<template> 3 <div id="app"> 4 <FishtankTreeSelect 5 :options="options" 6 :max-height="null" 7 :hide-control="true" 8 :dropdownpopover="false" 9 :multiple="true" 10 :collapse-menu-padding="true" 11 v-model="value" /> 12 </div> 13</template> 14 15<script> 16 // import the component 17 import FishtankTreeSelect from '@fishtank/vue-treeselect' 18 // import the styles 19 import '@fishtank/vue-treeselect/dist/vue-treeselect.css' 20 21 export default { 22 // register the component 23 components: { Treeselect }, 24 data() { 25 return { 26 // define default value 27 value: null, 28 // define options 29 options: [ { 30 id: 'a', 31 label: 'a', 32 children: [ { 33 id: 'aa', 34 label: 'aa', 35 }, { 36 id: 'ab', 37 label: 'ab', 38 } ], 39 }, { 40 id: 'b', 41 label: 'b', 42 }, { 43 id: 'c', 44 label: 'c', 45 } ], 46 } 47 }, 48 } 49</script>
It should function well on IE9, but the style can be slightly broken due to the lack of support of some relatively new CSS features, such as transition
and animation
. Nevertheless it should look 90% same as on modern browsers.
You can use this pen to reproduce bugs and then open an issue.
yarn
or npm install
npm run dev
& hacknpm test
passesThis project is inspired by vue-multiselect, react-select and Ant Design. Special thanks go to their respective authors!
Some icons used in this project:
Copyright (c) 2017-present Riophae Lee.
Released under the MIT License.
No vulnerabilities found.
No security vulnerabilities found.