bee-input-number
InputNumber ui component for react
Last updated a month ago by tinper-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bee-input-number 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.2.6-alpha.0                                ...           alpha (9 months ago)
  • 2.2.40                                ...           latest (a month ago)

110 Versions

  • 2.2.40                                ...           a month ago
  • 2.2.39                                ...           2 months ago
  • 2.2.38                                ...           2 months ago
  • 2.2.37                                ...           3 months ago
  • 2.2.36                                ...           3 months ago
  • 2.2.35                                ...           3 months ago
  • 2.2.34                                ...           3 months ago
  • 2.2.33                                ...           4 months ago
  • 2.2.32                                ...           5 months ago
  • 2.2.31                                ...           6 months ago
  • 2.2.30                                ...           6 months ago
  • 2.2.29                                ...           6 months ago
  • 2.2.28                                ...           6 months ago
  • 2.2.27                                ...           6 months ago
  • 2.2.26                                ...           6 months ago
  • 2.2.25                                ...           6 months ago
  • 2.2.24                                ...           7 months ago
  • 2.2.23                                ...           7 months ago
  • 2.2.22                                ...           7 months ago
  • 2.2.21                                ...           7 months ago
  • 2.2.20                                ...           7 months ago
  • 2.2.19                                ...           7 months ago
  • 2.2.18                                ...           7 months ago
  • 2.2.17                                ...           7 months ago
  • 2.2.16                                ...           7 months ago
  • 2.2.15                                ...           7 months ago
  • 2.2.14                                ...           8 months ago
  • 2.2.13                                ...           8 months ago
  • 2.2.12                                ...           8 months ago
  • 2.2.11                                ...           8 months ago
  • 2.2.10                                ...           8 months ago
  • 2.2.9                                ...           9 months ago
  • 2.2.8                                ...           9 months ago
  • 2.2.7                                ...           9 months ago
  • 2.2.6                                ...           9 months ago
  • 2.2.6-alpha.0                                ...           9 months ago
  • 2.2.5                                ...           10 months ago
  • 2.2.4                                ...           10 months ago
  • 2.2.3                                ...           10 months ago
  • 2.2.2-alpha.3                                ...           10 months ago
  • 2.2.2-alpha.2                                ...           10 months ago
  • 2.2.2                                ...           10 months ago
  • 2.2.2-alpha.1                                ...           10 months ago
  • 2.2.2-alpha.0                                ...           10 months ago
  • 2.2.1                                ...           10 months ago
  • 2.2.0                                ...           10 months ago
  • 2.1.9                                ...           a year ago
  • 2.1.8                                ...           a year ago
  • 2.1.7                                ...           a year ago
  • 2.1.6                                ...           a year ago
  • 2.1.6-alpha.0                                ...           a year ago
  • 2.1.5                                ...           a year ago
  • 2.1.4                                ...           a year ago
  • 2.1.3                                ...           a year ago
  • 2.1.2                                ...           a year ago
  • 2.1.1                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.17                                ...           a year ago
  • 2.0.16                                ...           a year ago
  • 2.0.16-alpha.0                                ...           a year ago
  • 2.0.15                                ...           a year ago
  • 2.0.14                                ...           a year ago
  • 2.0.13                                ...           a year ago
  • 2.0.12                                ...           a year ago
  • 2.0.11                                ...           a year ago
  • 2.0.10                                ...           a year ago
  • 2.0.9                                ...           a year ago
  • 2.0.8                                ...           a year ago
  • 2.0.7                                ...           2 years ago
  • 2.0.6                                ...           2 years ago
  • 2.0.5                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.2.3                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.17                                ...           2 years ago
  • 1.1.16                                ...           2 years ago
  • 1.1.15                                ...           2 years ago
  • 1.1.14                                ...           2 years ago
  • 1.1.13                                ...           2 years ago
  • 1.1.12                                ...           2 years ago
  • 1.1.11                                ...           2 years ago
  • 1.1.10                                ...           2 years ago
  • 1.1.9                                ...           2 years ago
  • 1.1.8                                ...           2 years ago
  • 1.1.7                                ...           2 years ago
  • 1.1.6                                ...           2 years ago
  • 1.1.5                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.0.9                                ...           3 years ago
  • 0.0.8                                ...           3 years ago
  • 0.0.7                                ...           4 years ago
  • 0.0.6                                ...           4 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago

Copyright 2014 - 2016 © taobao.org |