New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

scroll-animations

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scroll-animations

Scroll animations for Smooth Scroll Bar

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

SCROLL ANIMATIONS FOR SMOOTH SCROLLBAR

JavaScript plugin that implement AOS and Relax animations on scrolling with Smooth Scrollbar

DEPENDENCIES

HOW USE

  1. Download

  2. Install dependencies

    npm install
    
  3. Run demo

    npm run demo
    
  4. Build production with dependencies

    npm run build
    
  5. Build production without dependencies

    npm run buildWithOutDependencies
    
  6. 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="rellax"></div>
            <div data-type-animation="rellax" data-rellax-speed="10"></div>
        </div>
    </body>
    
    const scrollAnimation = scrollAnimation({
        element: '#scroll-animation-content'
    });
    
  7. Public methods

    // Get Smooth Scrollbar instance
    const smoothScrollBar = scrollAnimation.getScrollBar();
    // Destroy
    scrollAnimation.destroy();
    

Keywords

FAQs

Package last updated on 12 Nov 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc