Radio Button API Overview
Initialization
<script>
import { RadioButton } from "wx-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
checked | defines whether a radio button is checked |
disabled | defines whether a radio button is disabled |
id | sets an HTML id for a radio button |
label | specifies the label of a radio button |
name | sets the name of a group a radio button belongs to |
value | specifies the value associated with a radio button |