@emanon/ema-textinput
0.6.7 • Public • Published
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. |
Readme
Keywords
nonePackage Sidebar
Install
npm i @emanon/ema-textinput
Weekly Downloads