@emanon/ema-checkbox

0.6.0 • Public • Published

ema-checkbox

Overall

<ema-checkbox> is ema version of <input type="checkbox"> component.

Properties

Property Attribute Type Default Description
checked checked boolean false True as checked status.
disabled disabled boolean false True as disabled status.
label label string "" Description label.
size size "large" | "medium" "medium" Component size.

Events

Event Type Description
change CustomEvent<{ checked: boolean; }> Fires when checked has changed.

CSS Custom Properties

Property Description
--ema-c-checkbox-color Checkbox background color when it's active.

/@emanon/ema-checkbox/

    Package Sidebar

    Install

    npm i @emanon/ema-checkbox

    Weekly Downloads

    1

    Version

    0.6.0

    License

    MIT

    Unpacked Size

    117 kB

    Total Files

    9

    Last publish

    Collaborators

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