primevue-mirror/components/lib/tristatecheckbox/BaseTriStateCheckbox.vue

43 lines
889 B
Vue
Raw Normal View History

2023-05-24 14:39:47 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import TriStateCheckboxStyle from 'primevue/tristatecheckbox/style';
2023-05-24 14:39:47 +00:00
export default {
name: 'BaseTriStateCheckbox',
extends: BaseComponent,
props: {
modelValue: null,
inputId: {
type: String,
default: null
},
inputProps: {
type: null,
default: null
},
disabled: {
type: Boolean,
default: false
},
tabindex: {
type: Number,
default: 0
},
ariaLabelledby: {
2023-05-24 14:39:47 +00:00
type: String,
default: null
},
ariaLabel: {
2023-05-24 14:39:47 +00:00
type: String,
default: null
}
},
style: TriStateCheckboxStyle,
provide() {
return {
$parentInstance: this
};
2023-05-24 14:39:47 +00:00
}
};
</script>