@emanon/ema-radio
0.3.3 • Public • Published
ema-radio
Overall
<ema-radio>
is ema version of <input type="radio">
component.
Properties
Property |
Attribute |
Type |
Default |
disabled |
disabled |
boolean |
false |
options |
options |
{ label: string, value: string }[] |
[] |
row |
row |
boolean |
false |
size |
size |
"large" | "small" |
"large" |
value |
value |
string |
"" |
Events
Event |
Type |
Description |
value-change |
CustomEvent<{ value: string; }> |
Fires when value has changed. |
CSS Custom Properties
Property |
Default |
Description |
--ema-c-radio-color-active |
"#f94" |
Radio color when active. |
--ema-c-radio-color-inactive |
"#d0d8df" |
Radio color when inactive. |
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads