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

transcroll

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transcroll - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

8

index.d.ts
declare module 'transcroll' {
type easeFn = (arg: number) => number;
type easeName = 'linear' | 'easeInQuad' | 'easeOutQuad' | 'easeInOutQuad' | 'easeInCubic' | 'easeOutCubic' | 'easeInOutCubic' |
'easeInQuart' | 'easeOutQuart' | 'easeInOutQuart' | 'easeInQuint' | 'easeOutQuint' | 'easeInOutQuint';
let transcroll: (target: Window | Element | number | string, args?: {

@@ -7,3 +10,3 @@ el?: Window | Element,

duration?: number,
easing?: string | ((x: number) => number),
easing?: easeName | easeFn,
jump?: false | number,

@@ -13,2 +16,3 @@ interrupt?: boolean

export default transcroll;
}
export let easings: { [name in easeName]: easeFn };
}
{
"name": "transcroll",
"version": "1.2.2",
"version": "1.2.3",
"description": "Animate scroll in a modern way",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/mrTimofey/transcroll",

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