Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rmc-cascader

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rmc-cascader

m-cascader ui component for react

  • 2.2.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19K
increased by4.02%
Maintainers
2
Weekly downloads
 
Created
Source

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 i typings -g
typings install
npm start
npm run watch-tsc

Example

http://localhost:8000/examples/

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

react-native

npm run rn-start

load

http://localhost:8081/examples/react-native/picker.bundle?platform=ios http://localhost:8081/examples/react-native/popup.bundle?platform=ios

in RNPlayground

install

rmc-cascader

API

MCascader props

namedescriptiontypedefault
className(web)additional css class of root dom nodeString''
prefixCls(web)prefix classString'rmc-cascader'
pickerPrefixCls(web)picker prefix classString'rmc-picker'
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-cascader'
pickerPrefixCls(web)picker prefix classString'rmc-picker'
style(web)additional styleobject{}
dataThe data of cascadearray
valueselected valuearray
defaultValueinitial selected valuearray
onPickerChangeFunction(value)-
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.

Keywords

FAQs

Package last updated on 30 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc