@acanto/core-scroll
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -50,2 +50,3 @@ declare namespace ScrollTrigger { | ||
onchange?: (element: HTMLElement) => any; | ||
once?: boolean; | ||
}; | ||
@@ -52,0 +53,0 @@ |
{ | ||
"name": "@acanto/core-scroll", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"author": "Acanto <info@acanto.net> (https://acanto.agency/)", | ||
@@ -25,3 +25,3 @@ "license": "ISC", | ||
"sideEffects": false, | ||
"gitHead": "e6294f51eeffb75c9ba6b868dc2dc9efd42efcf0" | ||
"gitHead": "1ce8da151d0ae02fced26b99049bfe2c5d624730" | ||
} |
@@ -148,3 +148,3 @@ // @see https://www.npmjs.com/package/eases-jsnext#usage | ||
if (!stop(position, toY)) { | ||
window.requestAnimationFrame(loop); | ||
requestAnimationFrame(loop); | ||
start = timestamp; | ||
@@ -182,3 +182,3 @@ } | ||
window.requestAnimationFrame(loop); | ||
requestAnimationFrame(loop); | ||
} |
63208
15
1896