js-scrollfade 1.0.1
Install from the command line:
Learn more about npm packages
$ npm install @sayhellogmbh/js-scrollfade@1.0.1
Install via package.json:
"@sayhellogmbh/js-scrollfade": "1.0.1"
About this version
jQuery script which watches the window scroll position and fades out the specified element(s), using CSS opacity, as you scroll down the page. Scrolling back up will fade the element back in again.
- Include this script in your build process using
import "@sayhellogmbh/js-scrollfade"
. - Add the following code to your
document.ready
block. (In the example, all elements with the CSS class.js-scrollfade
will be affected.
if ($.fn.sht_scrollfade) {
$('.js-scrollfade').sht_scrollfade();
}
- Initial @sayhellogmbh version.
Details
- js-scrollfade
- SayHelloGmbH
- over 2 years ago
- GPL-3.0-or-later
Assets
- js-scrollfade-1.0.1-npm.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0