5.0.3 • Published 5 years ago

rmc-cascader v5.0.3

Weekly downloads
23,360
License
MIT
Repository
github
Last release
5 years ago

rmc-cascader


React Mobile Cascader Component (web and react-native)

NPM version react-native react build status Test coverage gemnasium deps node version npm download

Screenshots

web

native

Development

npm i
npm start

Example

http://localhost:8000/examples/

online example: http://react-component.github.io/m-cascader/

react-native

npm run rn-init
npm run watch-tsc
react-native start
react-native run-ios

install

rmc-cascader

API

Cascader props

namedescriptiontypedefault
className(web)additional css class of root dom nodeString''
prefixCls(web)prefix classString'rmc-cascader'
pickerPrefixCls(web)picker prefix classString'rmc-picker'
pickerItemStylepicker item style{}
dataThe data of cascadearray
valueselected valuearray
defaultValueinitial selected valuearray
onChangeFunction(value)-

rmc-cascader/lib/Popup props

namedescriptiontypedefault
className(web)additional css class of modal nodeString''
prefixCls(web)prefix classString'rmc-picker-popup'
style(web)additional styleobject{}
valueselected valuearray
cascaderReact Cascader element
onChangeexec on okFunction(value)
onDismissexec on dismissfunction
okTextok button textString'Ok'
dismissTextdismiss button textString'Dismiss'
titlePopup titleString''
visiblewhether pop picker is visibleBoolean
onVisibleChangecalled when pop picker visible changeFunction

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

rmc-cascader is released under the MIT license.

5.0.3

5 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0

7 years ago

5.0.0-alpha.3

7 years ago

4.3.5

7 years ago

5.0.0-alpha.2

7 years ago

5.0.0-alpha.1

7 years ago

5.0.0-alpha.0

7 years ago

4.3.4

7 years ago

4.3.3

7 years ago

4.3.2

7 years ago

4.3.1

7 years ago

4.3.0

7 years ago

4.2.3

7 years ago

3.0.9

7 years ago

3.0.8

7 years ago

3.0.6

7 years ago

4.2.2

7 years ago

4.2.1

7 years ago

4.2.0

7 years ago

3.0.7

7 years ago

4.1.2

7 years ago

4.1.1

7 years ago

4.1.0

7 years ago

3.0.5

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.2.6

8 years ago

2.2.5

8 years ago

2.2.4

8 years ago

2.2.3

8 years ago

2.2.2

8 years ago

2.2.1

8 years ago

2.2.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.3.3

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.10

8 years ago

0.2.9

8 years ago

0.2.8

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago