How to use the react-waypoint.Waypoint.inside function in react-waypoint

To help you get started, we’ve selected a few react-waypoint examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github weseek / growi / src / client / js / components / Page / RevisionLoader.jsx View on Github external
onWaypointChange(event) {
    if (event.currentPosition === Waypoint.above || event.currentPosition === Waypoint.inside) {
      this.loadData();
    }
  }

react-waypoint

A React component to execute a function whenever you scroll to an element.

MIT
Latest version published 2 years ago

Package Health Score

64 / 100
Full package analysis