@emanon/ema-select
v0.4.0
Published
## Overall `<ema-select>` is ema version of `<select>` component.
Downloads
44
Readme
ema-select
Overall
<ema-select>
is ema version of <select>
component.
Properties
| Property | Attribute | Type | Default |
|---------------|---------------|--------------------------------------|---------|
| appearance
| appearance
| "box" \| "line"
| "box" |
| description
| description
| string
| "" |
| disabled
| disabled
| boolean
| false |
| error
| error
| string
| "" |
| label
| label
| string
| "" |
| options
| options
| { label: string, value: string }[]
| [] |
| placeholder
| placeholder
| string
| "" |
| required
| required
| boolean
| false |
| size
| size
| "large" \| "small"
| "large" |
| value
| value
| string
| "" |
Events
| Event | Type | Description |
|----------------|-----------------------------------|--------------------------------------------------|
| value-change
| CustomEvent<{ value: string; }>
| Fires when new value is selected and form is closed.Fires after select element's input
event. |