Socket
Socket
Sign inDemoInstall

nuke-input

Package Overview
Dependencies
4
Maintainers
3
Versions
185
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-input


Version published
Weekly downloads
107
increased by345.83%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

Input

  • category: Components
  • chinese: 输入框
  • type: 基本

注意 此 Input 自带了一些UI样式,如果你希望自己封装样式,可以使用TextInput组件。

API

属性配置说明类型默认值
multiple是否为多行,不选则为单行boolfalse
state状态,可选为''/success/error/warningstring''
value当前的value 值string
disabled状态 设置文本域禁用状态booleanfalse
onInput输入事件functionfalse
onFocusFocus事件functionfalse
onBlurBlur事件functionfalse
onChangechange事件 (在weex native 的触发时机可能有问题)functionfalse
maxLength最大长度numberundefined

Keywords

FAQs

Last updated on 30 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc