Wondering what’s next for npm?Check out our public roadmap! »

    @emanon/ema-textinput

    0.4.4 • 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 "small" | "large" "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.

    Keywords

    none

    Install

    npm i @emanon/ema-textinput

    DownloadsWeekly Downloads

    119

    Version

    0.4.4

    License

    MIT

    Unpacked Size

    91.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar