@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.

    Keywords

    none

    Install

    npm i @emanon/ema-radio

    DownloadsWeekly Downloads

    1

    Version

    0.3.3

    License

    MIT

    Unpacked Size

    52 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar