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

本文介绍了vue-multiselect-dual-listbox,这是一个可搜索的双重选择框插件,允许用户在左侧列表中选择选项,显示在右侧。文章详细说明了如何使用NPM进行安装,并提到组件需要自行引入CSS样式。
摘要由CSDN通过智能技术生成

vue下拉框树形多选框

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

Searchable Dual Select box plugin.

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

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下拉框树形多选框

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值