@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

none

Package Sidebar

Install

npm i @emanon/ema-radio

Weekly Downloads

0

Version

0.3.3

License

MIT

Unpacked Size

52 kB

Total Files

7

Last publish

Collaborators

  • npm-cam
  • fkei
  • noritama
  • t4y3
  • ejithon
  • higashiyama
  • usui_yuki_cam