bee-input-number

2.2.47 • Public • Published

bee-input-number

npm version Build Status Coverage Status devDependency Status NPM downloads Average time to resolve an issue Percentage of issues still open

Browser Support

IE Chrome Firefox Opera Safari
IE 9+ Chrome 31.0+ Firefox 31.0+ Opera 30.0+ Safari 7.0+

react bee-input-number component for tinper-bee

组织所有form元素的集合地

使用

使用单独的bee-input-number包

组件引入

先进行下载bee-input-number包

npm install --save bee-input-number

组件调用

React.render(
	<InputNumber/>
, document.getElementById('target'));

样式引入

  • 可以使用link引入dist目录下bee-form.css
<link rel="stylesheet" href="./node_modules/build/bee-input-number.css">
  • 可以在js中import样式
import "./node_modules/src/InputNumber.scss"
//或是
import "./node_modules/build/bee-input-number.css"

API

参数 说明 类型 默认值
className 类名 string -
max 最大值 number -
min 最小值 number -
step 间隔值 number 1
value 默认值 number 0
format 显示内容的格式化 function -
precision 显示精度。如要输入小数,此属性必须设置 number 显示小数点后面的位数
delay 当持续按住增减按钮式,变换的速度(毫秒) number 300
disabled 是否可编辑 string -
toNumber 回调内的值是否转换为number类型。当正在输入小数点或者小数点后第一位为0时,不能转换为number类型 bool true
toThousands 是否显示千分符 bool false

开发调试

$ git clone https://github.com/tinper-bee/bee-form
$ cd bee-form
$ npm install
$ npm run dev

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.2.6-alpha.00alpha
2.2.4713latest

Version History

VersionDownloads (Last 7 Days)Published
2.2.4713
2.2.461
2.2.450
2.2.441
2.2.430
2.2.420
2.2.410
2.2.406
2.2.391
2.2.380
2.2.372
2.2.361
2.2.351
2.2.3410
2.2.330
2.2.320
2.2.310
2.2.301
2.2.291
2.2.282
2.2.271
2.2.260
2.2.250
2.2.241
2.2.230
2.2.221
2.2.210
2.2.200
2.2.190
2.2.180
2.2.170
2.2.161
2.2.151
2.2.140
2.2.134
2.2.120
2.2.110
2.2.100
2.2.95
2.2.81
2.2.70
2.2.64
2.2.6-alpha.00
2.2.50
2.2.41
2.2.30
2.2.2-alpha.30
2.2.2-alpha.20
2.2.20
2.2.2-alpha.10
2.2.2-alpha.00
2.2.13
2.2.00
2.1.91
2.1.80
2.1.73
2.1.60
2.1.6-alpha.00
2.1.52
2.1.40
2.1.34
2.1.20
2.1.13
2.1.01
2.0.170
2.0.161
2.0.16-alpha.00
2.0.150
2.0.141
2.0.130
2.0.120
2.0.110
2.0.100
2.0.91
2.0.81
2.0.71
2.0.62
2.0.50
2.0.31
2.0.20
2.0.10
2.0.00
1.2.30
1.2.20
1.2.17
1.2.07
1.1.170
1.1.161
1.1.150
1.1.140
1.1.132
1.1.120
1.1.111
1.1.100
1.1.90
1.1.80
1.1.71
1.1.68
1.1.50
1.1.40
1.1.30
1.1.21
1.1.10
1.1.00
1.0.51
1.0.41
1.0.31
1.0.20
1.0.10
1.0.01
0.0.99
0.0.89
0.0.716
0.0.611
0.0.44
0.0.31
0.0.21

Package Sidebar

Install

npm i bee-input-number

Weekly Downloads

168

Version

2.2.47

License

MIT

Unpacked Size

117 kB

Total Files

20

Last publish

Collaborators

  • rongqb
  • duxue
  • jwangyangls
  • shaohlr
  • honely1314
  • xiaoshutong
  • yonyoufed
  • jonyw
  • guoyongfeng
  • kvkens
  • whizbz
  • npm_yx
  • bjyxszd
  • tinper-bot
  • gaox2025f
  • gcht163
  • cnkvkens
  • diozhu
  • wangjings123
  • boyuzhou
  • ahua52