Package Exports
- vuetify-dual-list
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vuetify-dual-list) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vuetify-dual-list
vuetify-dual-list is a Vuetify component for VueJS.
Installation
Use the package manager yarn to install vuetify-dual-list.
yarn add vuetify-dual-list
Usage
<template>
<dual-list :icons="icons" :preSelected="preSelected" :items="items" :keys="keys" :i18n="i18n" :dense="dense" :dark="dark" @selected="attachItems" />
</template>
<script>
import DualList from 'vuetify-dual-list'
export default {
components: {
DualList
},
data () {
return {
items: [], // Required
keys: { primary: '', secondary: '' }, // Required
i18n: { // Optional
vuetifyNotFound: '',
list1: '',
list2: '',
findIn: '',
noData: ''
},
icons: { // Optional
prevAll: '',
prev: '',
next: '',
nextAll: ''
},
preSelected: [] // Optional
dense: false, // Optional
dark: false // Optional
}
},
methods: {
attachItems (newItems) {
// ...
}
}
}
</script>
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.