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