@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. |
Dependencies (1)
Dev Dependencies (0)
Package Sidebar
Install
npm i @emanon/ema-checkbox
Weekly Downloads