Installation
npm install --save @types/motion-scroll
Summary
This package contains type definitions for motion-scroll (https://github.com/ninjabonsai/motion-scroll#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/motion-scroll.
index.d.ts
export as namespace MotionScroll;
export function scroll(config: {
element?: HTMLElement | undefined;
axis?: "x" | "y" | undefined;
scrollTo?: number | undefined;
speed?: number | undefined;
easing?: (() => void) | undefined;
callBack?: (() => void) | undefined;
delay?: number | undefined;
force?: boolean | undefined;
minScrollTime?: number | undefined;
maxScrollTime?: number | undefined;
}): void;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Richard Rogers.