@types/motion-scroll
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/motion-scroll

Weekly Downloads

3

Version

1.0.4

License

MIT

Unpacked Size

3.48 kB

Total Files

5

Last publish

Collaborators

  • types