node package manager

rc-cascade-select

rc-cascade-select


cascade-select ui component for react.

NPM version SPM version build status Test coverage gemnasium deps node version npm download Sauce Test Status

Sauce Test Status

Feature

  • support ie8,ie8+,chrome,firefox,safari

install

rc-cascade-select

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

http://localhost:8000/node_modules/rc-server/node_modules/node-jscover/lib/front-end/jscoverage.html?w=http://localhost:8000/tests/runner.html?coverage

License

rc-cascade-select is released under the MIT license.