Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-treeselect

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-treeselect - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

package.json
{
"name": "vue-treeselect",
"description": "a tree select plugin for vue2",
"version": "1.0.0",
"version": "1.0.1",
"keywords": [

@@ -22,3 +22,2 @@ "vue2",

"dependencies": {
"vue-jstree": "^1.0.3"
},

@@ -35,2 +34,3 @@ "devDependencies": {

"vue": "^2.3.3",
"vue-jstree": "^1.0.3",
"vue-loader": "^12.1.0",

@@ -37,0 +37,0 @@ "vue-template-compiler": "^2.3.3",

@@ -7,1 +7,97 @@ # vue-treeselect

This Plugin is based on [vue-jstree](https://github.com/zdy1988/vue-jstree), Some "props" can be used for reference !
## NPM
```html
npm install vue-treeselect
```
## ES6
```html
import VTreeselect from 'vue-treeselect'
new Vue({
components: {
VTreeselect
}
})
```
## Setup
```html
npm install
npm run dev
```
## Usage
```html
<v-tree-select :data="data" value-field-name="id" v-model="selectItem"></v-tree-select>
new Vue({
el: '#app',
data: {
data: [
{
"text": "Same but with checkboxes",
"children": [
{
"text": "initially selected",
},
{
"text": "custom icon",
},
{
"text": "initially open",
"children": [
{
"text": "Another node"
}
]
},
{
"text": "custom icon",
},
{
"text": "disabled node",
"disabled": true
}
]
},
{
"text": "Same but with checkboxes",
"children": [
{
"text": "initially selected",
},
{
"text": "custom icon",
},
{
"text": "initially open",
"children": [
{
"text": "Another node"
}
]
},
{
"text": "custom icon",
},
{
"text": "disabled node",
"disabled": true
}
]
},
{
"text": "And wholerow selection"
}
],
selectItem: null
}
})
```

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc