rc-cascade-select
cascade-select ui component for react.
Feature
- support ie8,ie8+,chrome,firefox,safari
install
Development
npm install
npm start
Example
http://localhost:8000/examples/
online example: http://react-component.github.io/cascade-select/build/examples/
Api
CascadeSelect props
name | type | default | description |
---|---|---|---|
className | String | additional css class of root dom node | |
value | String[] | [] | current value like input's value |
allText | String | all | |
loader | Function(value, callback:Function(error, data:Object[]) | called when select a option, return children options corresponding to current option, data's child type must be type of {name,value} |
Test Case
http://localhost:8000/tests/runner.html?coverage
Coverage
License
rc-cascade-select is released under the MIT license.