@emanon/ema-checkbox
v0.6.0
Published
## Overall
Downloads
40
Readme
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. |