Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

animated-scroll-to

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animated-scroll-to - npm Package Compare versions

Comparing version 1.1.1 to 1.1.3

6

animated-scroll-to.js

@@ -15,2 +15,3 @@ (function() {

element: window,
onComplete: undefined,
};

@@ -126,2 +127,7 @@

}
// Animation is complete, execute callback if there is any
if (options.onComplete && typeof options.onComplete === 'function') {
options.onComplete()
}
}

@@ -128,0 +134,0 @@ };

2

package.json
{
"name": "animated-scroll-to",
"version": "1.1.1",
"version": "1.1.3",
"description": "Simple, plain JavaScript animated window scroll",

@@ -5,0 +5,0 @@ "main": "animated-scroll-to.js",

@@ -67,3 +67,6 @@ # animated-scroll-to

// if set to "false" user input will be disabled until animated scroll is complete
cancelOnUserAction: true
cancelOnUserAction: true,
// function that will be executed when the scroll animation is finished
onComplete: function() {}
};

@@ -70,0 +73,0 @@

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