@emanon/ema-textarea
v0.5.0
Published
## Properties
Downloads
42
Readme
ema-textarea
Properties
| Property | Attribute | Type | Default |
|---------------|---------------|----------------------|---------|
| appearance
| appearance
| "box" \| "line"
| "box" |
| disabled
| disabled
| boolean
| false |
| error
| error
| string
| "" |
| label
| label
| string
| "" |
| placeholder
| placeholder
| string
| "" |
| readonly
| readonly
| boolean
| false |
| required
| required
| boolean
| false |
| rows
| rows
| number
| 5 |
| size
| size
| "large" \| "small"
| "large" |
| value
| value
| string
| "" |
Methods
| Method | Type |
|---------------|------------|
| focus
| (): void
|
| forceUpdate
| (): void
|
Events
| Event | Type | Description |
|------------------|-----------------------------------|------------------------------|
| request-submit
| CustomEvent<{}>
| Fires when submitted. |
| value-change
| CustomEvent<{ value: string; }>
| Fires when value is changed. |