New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-bottom-scroll-listener

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bottom-scroll-listener

A simple React component that lets you listen for when you have scrolled to the bottom.

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18K
decreased by-28.93%
Maintainers
1
Weekly downloads
 
Created
Source

react-bottom-scroll-listener NPM version

A simple React component that lets you listen for when you have scrolled to the bottom.

Installation

npm: npm install --save react-bottom-scroll-listener

yarn: yarn add react-bottom-scroll-listener

Usage

<BottomScrollListener onbottom={callback} />

Props

  • onBottom (required): callback invoked when bottom is reached
  • debounce: (default: 200) integer in ms, how much debounce there should be on callback
  • offset: (default: 0) offset from bottom in pixels. E.g. 300 if it should invoke onBottom 300px before the bottom.
  • children: (default: null) Not required, but you can use this to wrap your components. Most useful when you have some conditional rendering.

Keywords

FAQs

Package last updated on 16 Oct 2017

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