Radio Button API Overview
Initialization
<script setup>
import { RadioButton } from "@svar-ui/vue-core";
</script>
<template>
<!-- minimal configuration for initialization -->
<RadioButton />
</template>
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
Radio Button Properties
| disabled | Optional. Defines whether a radio button is disabled |
| id | Optional. Sets an id for inner HTML input |
| inputValue | Optional. Specifies the value associated with a radio button |
| label | Optional. Specifies the label of a radio button |
| name | Specifies. Sets the name of a group a radio button belongs to |
| value | Optional. Defines whether a radio button is checked |
Radio Button Events
| change | Fires when the state of a radio button is checked |