@omiu/input
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.12 • Public • Published

    Input

    Generally used to input information and submit it to the server.

    Import

    import '@omiu/input'

    Or use script tag to ref it.

    <script src="https://unpkg.com/@omiu/input"></script>

    Usage

    <o-input></o-input>

    API

    Props

    {
      value?: string
      disabled?: boolean
      type?: string
      placeholder?: string
      clearable?: boolean
      size?: 'medium' | 'small' | 'mini'
      suffixIcon?: string
      prefixIcon?: string
      maxLength?: number
      autoComplete?: string
      block?: boolean
    }

    默认属性

    {
      type: 'text',
      autosize: false,
      rows: 2,
      trim: false,
      autoComplete: 'off',
      block: false
    }

    Events

    • blur
    • focus
    • change
    • input

    Install

    npm i @omiu/input

    Homepage

    omijs.org

    DownloadsWeekly Downloads

    30

    Version

    0.0.12

    License

    MIT

    Unpacked Size

    123 kB

    Total Files

    10

    Last publish

    Collaborators

    • dntzhang