2.0.1 • Published 7 years ago

react-scrollnotify v2.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

React Scroll Notify

A lightweight react wrapper that detects when your component enters the viewport, fires a function passed as prop and add animations to it!

Now you can animate components by passing your animation class or animate.css classes as prop

Installation

  • yarn add react-scrollnotify

    or

  • npm install react-scrollnotify --save

    or

  • Include dist-modules/index.js

Usage

import { Notify } from 'react-scrollnotify';
.
.
.
<Notify onvisible={yourFunction()} animation='youranimationclass'>
  ...
</Notify>

Props

onvisible

animation

Feel free to report the issues in github.

Leave me a star if you think it’s cool!

View Demo

2.0.1

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.5

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago