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

m-numberpicker

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m-numberpicker

m-numberpicker 数字选择器

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

numberpicker 数字选择器


何时使用

当需要获取标准数值时。

API

属性如下

成员说明类型默认值
min最小值Number-Infinity
max最大值NumberInfinity
value当前值Number
step每次改变步数Number1
defaultValue初始值Number
disabled禁用Booleanfalse
readOnly不可手动输入,仅可通过加减按钮增减数值Booleanfalse
autoFocus自动获得焦点Booleanfalse
onChange变化回调Functionfunction() {}
onAdd增加数值回调Functionfunction() {}
onReduce减少数值回调Functionfunction() {}
onBlur失去焦点回调Function
onFocus获得焦点回调Functionfunction() {}
setValue设置输入框内的数值Functionfunction() {}
getValue获得当前输入框内的数值Functionfunction() {}

Keywords

FAQs

Package last updated on 24 May 2017

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