【文件属性】:
文件名称:bpo-elt-transfer:基于elementui 的表格穿梭框,参照了elt-transfer
文件大小:33KB
文件格式:ZIP
更新时间:2021-04-16 15:07:30
Vue
bpo-elt-transfer
基于elt-transfer的自用定制, 拆了部分封装,和无用方法,提升了扩展性。
更改了props 和表格的列定义方式,使其更贴合原生el-transfer 和el-table 的使用。提高了客制化能力,并且使用方式更符合直觉。
安装
npm install bpo-elt-transfer
使用
在main.js文件中引入插件并注册
import bpoEltTransfer from 'bpo-elt-transfer'
Vue.use(bpoEltTransfer)
Attributes
参数
说明
类型
默认值
value / v-model
绑定值
array
—
data
候选池(左表)的数据源
array
[]
button-texts
自定义标题文案
array
['待选项', '已选项']
title-texts
自定义按钮文案
arr
【文件预览】:
bpo-elt-transfer-master
----src()
--------bpoEltTransfer()
--------index.js(321B)
----babel.config.js(53B)
----example()
--------example.png(30KB)
--------example.vue(5KB)
----LICENSE(1KB)
----README.md(1KB)
----package.json(717B)