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

49 lines
1017 B
Vue

<script>
import BaseInput from '@primevue/core/baseinput';
import RadioButtonStyle from 'primevue/radiobutton/style';
export default {
name: 'BaseRadioButton',
extends: BaseInput,
props: {
value: null,
binary: Boolean,
readonly: {
type: Boolean,
default: false
},
tabindex: {
type: Number,
default: null
},
inputId: {
type: String,
default: null
},
inputClass: {
type: [String, Object],
default: null
},
inputStyle: {
type: Object,
default: null
},
ariaLabelledby: {
type: String,
default: null
},
ariaLabel: {
type: String,
default: null
}
},
style: RadioButtonStyle,
provide() {
return {
$pcRadioButton: this,
$parentInstance: this
};
}
};
</script>