transcroll
Advanced tools
Comparing version 1.2.2 to 1.2.3
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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7719
145