@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

none

Package Sidebar

Install

npm i @emanon/ema-textinput

Weekly Downloads

0

Version

0.6.7

License

MIT

Unpacked Size

93.7 kB

Total Files

7

Last publish

Collaborators

  • npm-cam
  • fkei
  • noritama
  • t4y3
  • ejithon
  • higashiyama
  • usui_yuki_cam