scrollCue.js is a JavaScript plugin that works without jQuery.
Show elements by scrolling.
It works on modern browser as Chrome, Firefox, Safari, Edge, IE11.
Install with npm:
npm install scrollCue
Install with yarn:
yarrn add scrollCue
scrollCue.js is a standalone JavaScript plugin with no dependencies. Include the file in the footer of your page and initialise it or use import
:
import { scrollCue } from "scrollcue/scrollCue.js"
scrollCue.init({
interval: -400,
duration: 700,
percentage: 0.8
});
scrollCue.update();
Created by SamWest.
Copyright (c) 2020 SamWest.
This plugin is released under the MIT License.