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

51 lines
1.0 KiB
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,
disabled: {
type: Boolean,
default: false
},
readonly: {
type: Boolean,
default: false
},
2023-05-24 14:39:47 +00:00
tabindex: {
type: Number,
default: null
},
inputId: {
type: String,
default: null
},
inputClass: {
type: [String, Object],
default: null
},
inputStyle: {
type: Object,
default: null
2023-05-24 14:39:47 +00:00
},
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>