@emanon/ema-textinput
v0.6.7
Published
## Properties
Downloads
192
Keywords
Readme
ema-textinput
Properties
| Property | Attribute | Type | Default |
|---------------|---------------|--------------------------------------------------|---------|
| appearance
| appearance
| "box" \| "line"
| "box" |
| disabled
| disabled
| boolean
| false |
| error
| error
| string
| "" |
| icon
| icon
| string
| "" |
| label
| label
| string
| "" |
| placeholder
| placeholder
| string
| "" |
| readonly
| readonly
| boolean
| false |
| required
| required
| boolean
| false |
| size
| size
| "large" \| "small"
| "small" |
| type
| type
| "text" \| "email" \| "password" \| "tel" \| "url"
| "text" |
| value
| value
| string
| "" |
Methods
| Method | Type |
|---------|------------|
| focus
| (): void
|
Events
| Event | Type | Description |
|------------------|-----------------------------------|------------------------------|
| request-submit
| CustomEvent<{}>
| Fires when submitted. |
| value-change
| CustomEvent<{ value: string; }>
| Fires when value is changed. |