primevue-mirror/components/lib/orderlist/BaseOrderList.vue

78 lines
1.6 KiB
Vue

<script>
import BaseComponent from 'primevue/basecomponent';
import OrderListStyle from 'primevue/orderlist/style';
export default {
name: 'BaseOrderList',
extends: BaseComponent,
props: {
modelValue: {
type: Array,
default: null
},
selection: {
type: Array,
default: null
},
dataKey: {
type: String,
default: null
},
listStyle: {
type: null,
default: null
},
metaKeySelection: {
type: Boolean,
default: false
},
autoOptionFocus: {
type: Boolean,
default: true
},
focusOnHover: {
type: Boolean,
default: true
},
responsive: {
type: Boolean,
default: true
},
breakpoint: {
type: String,
default: '960px'
},
stripedRows: {
type: Boolean,
default: false
},
severity: {
type: String,
default: 'secondary'
},
tabindex: {
type: Number,
default: 0
},
disabled: {
type: Boolean,
default: false
},
ariaLabelledby: {
type: String,
default: null
},
ariaLabel: {
type: String,
default: null
}
},
style: OrderListStyle,
provide() {
return {
$parentInstance: this
};
}
};
</script>