@emanon/ema-switch

0.3.3 • Public • Published

ema-switch

Properties

Property Attribute Type Default
checked checked boolean false
offLabel off-label string ""
onLabel on-label string ""

Events

Event Type Description
request-toggle CustomEvent<{}> Fires when switch is tapped.

CSS Custom Properties

Property Default Description
--ema-c-switch-bgColor "#5289ea" Background color.

/@emanon/ema-switch/

    Package Sidebar

    Install

    npm i @emanon/ema-switch

    Weekly Downloads

    5

    Version

    0.3.3

    License

    MIT

    Unpacked Size

    43.9 kB

    Total Files

    7

    Last publish

    Collaborators

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