Package Exports
- rc-input-number
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rc-input-number) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
rc-input-number
input number ui component for react
Screenshots

Feature
- support ie8,ie8+,chrome,firefox,safari
Keyboard
install
Usage
var RcInputNumber = require('rc-input-number');
var React = require('react');
React.render(<InputNum />, container);
API
props
name | type | default | description |
---|---|---|---|
min | Number | Specifies the minimum value | |
max | Number | Specifies the maximum value | |
step | Number | 1 | Specifies the legal number intervals |
disabled | Boolean | false | Specifies that an InputNum should be disabled |
autofocus | Boolean | false | Specifies that an InputNum should automatically get focus when the page loads |
required | Boolean | false | Specifies that an InputNum is required(must be filled out) |
readonly | Boolean | false | Specifies that an InputNum is read only |
name | String | Specifies the name of an InputNum | |
value | String | Specifies the value of an InputNum |
Development
npm install
npm start
Example
http://127.0.0.1:8000/examples/
online example: http://react-component.github.io/input-number/build/examples/
Test Case
http://127.0.0.1:8000/tests/runner.html?coverage
Coverage
License
rc-input-number is released under the MIT license.