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

@hippy/rmc-pull-to-refresh

Package Overview
Dependencies
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hippy/rmc-pull-to-refresh

React Mobile Pull To Refresh Component

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
28
decreased by-22.22%
Maintainers
6
Weekly downloads
 
Created
Source

rmc-pull-to-refresh


React Mobile PullToRefresh Component.

NPM version build status Test coverage gemnasium deps npm download

Screenshots

Development

npm install
npm start

Example

http://localhost:8899/examples/

online example: http://react-component.github.io/m-pull-to-refresh/

install

rmc-pull-to-refresh

Usage

see example

API

props

namedescriptiontypedefault
directionpull direction, can be up or down or 'both'Stringdown
distanceToRefreshdistance to pull to refreshnumber50
refreshingWhether the view should be indicating an active refreshboolfalse
onRefreshCalled when the view starts refreshing.() => void-
indicatorindicator configObject{ activate: 'release', deactivate: 'pull', release: 'loading', finish: 'finish' }
classNameadditional css class of root dom nodeString-
prefixClsprefix classString'rmc-pull-to-refresh'
dampingpull damping, suggest less than 200number100
scaledamping scalenumber0.6

Test Case

npm test

Coverage

npm run coverage

License

rmc-pull-to-refresh is released under the MIT license.

Keywords

FAQs

Package last updated on 05 Jun 2023

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