@ridgehkr/fartscroll
v1.0.0-e
Published
Everyone farts. And now your web pages can too.
Maintainers
Readme
fartscroll.js
Everyone farts. And now your web pages can too.
This is a fork of The Onion's fartscroll.js, modernized as an NPM module and written in TypeScript.
Installation
npm install @ridgehkr/fartscroll- Import and initialize the fartscroll plugin:
import fartScroll from '@ridgehkr/fartscroll'
// Fart every 400 pixels scrolled
fartscroll()
// Fart every 800 pixels scrolled
fartscroll(800)More info at https://github.com/ridgehkr/fartscroll.js.
