1.0.0 • Published 6 years ago

reveal-loader v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Reveal Loader ES6

Reveal elements on scroll

Getting Started

This loader uses Waypoints. Adds class ".reveal-item" and ".reveal-item-is-visible".

Installing

Install package from NPM

npm install reveal-loader

Then import the module in your project. For example:

import RevealLoader from 'reveal-loader';

RevealLoader.load('.selector', '95%');

"95%" is the Waypoint offset.

Built With

  • Javascript

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details