
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
scroll-animations
Advanced tools
JavaScript plugin that implement AOS and Relax animations on scrolling with Smooth Scrollbar
Download or git clone
git clone https://github.com/BiserStoilov/scroll-animations.git
Install dependencies
npm install
Run demo
npm run demo
Build production with dependencies
npm run build
Run plugin
<body data-aos-easing="ease-in-out" data-aos-duration="1000" data-aos-delay="100">
<div id="scroll-animation-content">
<div data-type-animation="aos" data-aos="fade-up"></div>
<div data-type-animation="parallax"></div>
<div data-type-animation="parallax" data-parallax-speed="10"></div>
</div>
</body>
import scrollAnimations from 'path/to/scroll-animations/src/index';
const sa = scrollAnimations({
element: '#scroll-animation-content'
});
Public methods
// Get Smooth Scrollbar instance
const smoothScrollBar = sa.getScrollBar();
// Destroy
sa.destroy();
Smoot ScrollBar Methods
const sa = scrollAnimations({
element: '#scroll-animation-content'
});
const smoothScrollBar = sa.getScrollBar();
const element = document.querySelector('#your-element');
smoothScrollBar.addListener(() => {
console.log(smoothScrollBar.isVisible(element));
});
npm i scroll-animations
FAQs
Scroll animations for Smooth Scroll Bar
The npm package scroll-animations receives a total of 1 weekly downloads. As such, scroll-animations popularity was classified as not popular.
We found that scroll-animations demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.