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

74 lines
1.5 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: null
},
tabindex: {
type: Number,
default: 0
},
ariaLabelledby: {
type: String,
default: null
},
ariaLabel: {
type: String,
default: null
}
},
style: OrderListStyle,
provide() {
return {
$parentInstance: this
};
}
};
</script>