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

github.com/baspellis/react-native-infinite-scrollview

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/baspellis/react-native-infinite-scrollview

  • v0.0.0-20160314110242-ef6f9b8ef2ea
  • Source
  • Go
  • Socket score

Version published
Created
Source

react-native-infinite-scrollview

npm version react-native platform

ScrollView with infinte paged scrolling (no looping). The number of pages rendered before and after current page can be customized. Pages are rendered when user scrolled.

Content

Installation

npm i react-native-infinite-scrollview --save

Examples

Simple Calendar example included. react-native-infinite-scrollview demo

API

Component wraps ScrollView so all ScrollView properties are available.

  • renderPage - Required - (Function) - Must return a component representing the page for the provided index.
  • offScreenPages - Optional - (Integer) - Number of pages to render before and after the current page. Default is 1 (total 3 pages are rendered).
  • index - Optional - (Integer) - Start the scrollview with this index. Default is 0 or toIndex whichever is greater.
  • toIndex - Optional - (Integer) - Don't allow scrolling below this page index.
  • fromIndex - Optional - (Integer) - Don't allow scrolling above this page index.
  • onPageIndexChange - Optional - (Function) - Called when page index is changed (user scrolled).

Known issues

Currently only iOS is supported. Android support is coming.

Questions?

Feel free to contact me via

If you want to report a bug, please submit an issue!

FAQs

Package last updated on 14 Mar 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