vue下拉框树形多选框_Vue多选双重清单框

vue下拉框树形多选框

vue-multiselect-dual-listbox (vue-multiselect-dual-listbox)

Searchable Dual Select box plugin.

可搜索的双重选择框插件。

View Demo 查看演示 View Github 查看Github

Multi-select widget where users can select options from a list in the left side to a list on the right.

多选小部件,用户可以从左侧的列表到右侧的列表中选择选项。

使用NPM安装: (Install with NPM:)

npm install vue-multiselect-listbox

# or, using Yarn
yarn add vue-multiselect-listbox

Then, import and register the component:

然后,导入并注册该组件:

import Vue from 'vue'
import vMultiselectListbox from 'vue-multiselect-listbox'

Vue.component('v-multiselect-listbox', vMultiselectListbox)

The component doesn't itself contain any CSS, you'll need to include it yourself:

该组件本身不包含任何CSS,您需要自己包含它:

import 'vue-multiselect-listbox/dist/vue-multi-select-listbox.css';

Alternatively, you can import the scss for complete control of the component styles:

另外,您可以导入scss以完全控制组件样式:

@import "vue-multiselect-listbox/src/scss/vue-multi-select-listbox.scss";

翻译自: https://vuejsexamples.com/vue-multi-select-dual-listbox/

vue下拉框树形多选框

你可能感兴趣的:(vue下拉框树形多选框_Vue多选双重清单框)