Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@burst/smoothscroll

Package Overview
Dependencies
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@burst/smoothscroll

Add smoothscroll to the site.

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
9
-40%
Maintainers
7
Weekly downloads
 
Created
Source

@burst/smoothscroll

Add smoothscroll to the site.

Installation

npm i @burst/smoothscroll --save-dev

Usage

import { smoothScroll } from '@burst/smoothscroll';

smoothScroll.init();

width OPTIONAL parameters. smoothStrength: number (strenght of the smoothing, if not defined defefault is used.) wrapper: string (element of the wrapper, if not defined

element is used in the page.) wrapperEl: a html element

smoothScroll.init({ smoothStrength: 0.2, wrapper: '.js-wrapper' });

Disable

smoothScroll.disable();

enable

smoothScroll.enable();

Keywords

smoothscroll

FAQs

Package last updated on 25 Mar 2021

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