primevue-mirror/packages/primevue/src/radiobutton/BaseRadioButton.vue

49 lines
1017 B
Vue
Raw Normal View History

2023-05-24 12:29:06 +00:00
<script>
2024-10-18 15:55:57 +00:00
import BaseInput from '@primevue/core/baseinput';
import RadioButtonStyle from 'primevue/radiobutton/style';
2023-05-24 12:29:06 +00:00
export default {
name: 'BaseRadioButton',
2024-10-18 15:55:57 +00:00
extends: BaseInput,
2023-05-24 12:29:06 +00:00
props: {
value: null,
2024-01-14 22:25:39 +00:00
binary: Boolean,
readonly: {
type: Boolean,
default: false
},
tabindex: {
type: Number,
default: null
},
2023-05-24 12:29:06 +00:00
inputId: {
type: String,
default: null
},
inputClass: {
type: [String, Object],
default: null
},
inputStyle: {
type: Object,
default: null
},
ariaLabelledby: {
2023-05-24 12:29:06 +00:00
type: String,
default: null
},
ariaLabel: {
2023-05-24 12:29:06 +00:00
type: String,
default: null
}
},
style: RadioButtonStyle,
provide() {
return {
$pcRadioButton: this,
$parentInstance: this
};
2023-05-24 12:29:06 +00:00
}
};
</script>