mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
fix test failed about scroll-into-view (#11789)
This commit is contained in:
parent
67522ee64b
commit
4f1ec2ec0e
@ -7,7 +7,7 @@ scrollIntoView(someElement);
|
||||
scrollIntoView(someElement, {
|
||||
time: 500, // half a second
|
||||
ease: function(value){
|
||||
return Math.pow(value,2) - value); // Do something weird.
|
||||
return Math.pow(value,2) - value; // Do something weird.
|
||||
},
|
||||
validTarget: function(target, parentsScrolled){
|
||||
return parentsScrolled < 2 && !target.matches('.dontScroll');
|
||||
|
||||
2
scroll-into-view/scroll-into-view.d.ts
vendored
2
scroll-into-view/scroll-into-view.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for scroll-into-view 1.6.0
|
||||
// Project: https://github.com/KoryNunn/scroll-into-view
|
||||
// Definitions by: zivni https://github.com/zivni
|
||||
// Definitions by: zivni <https://github.com/zivni>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module __ScrollIntoView {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user