Radio Button API Overview
Initialization
<script>
import { RadioButton } from "@svar-ui/svelte-core";
</script>
<!-- minimal configuration for initialization -->
<RadioButton />
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 HTML id for a radio button |
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 |