Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuke-input

Package Overview
Dependencies
Maintainers
3
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-input

输入框

  • 0.1.8
  • npm
  • Socket score

Version published
Weekly downloads
24
increased by118.18%
Maintainers
3
Weekly downloads
 
Created
Source

Input

  • category: UI
  • chinese: 带UI的输入框
  • type: UI组件

注意 此 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

Package last updated on 01 Dec 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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc