cla-radio
Radio component.
Usage
<cla-radio name="">
Content of label goes here
</cla-radio>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
block |
block |
Whether to use the block style variant of the radio. | boolean |
undefined |
checked |
checked |
Is it Checked ? | boolean |
false |
disabled |
disabled |
Whether the radio is disabled. | boolean |
false |
inverted |
inverted |
Whether to use the inverted variant of the radio. | boolean |
undefined |
large |
large |
Whether to use the large variant of the radio. | boolean |
undefined |
name |
name |
The radio ID & name | string |
undefined |
value |
value |
The radio value | any |
undefined |
Events
Event | Description | Type |
---|---|---|
selected |
Emitted when the radio is selected. | CustomEvent<any> |
unselected |
Emitted when the radio is unselected. | CustomEvent<any> |
Slots
Slot | Description |
---|---|
Allows label content |
Built with StencilJS