1.0.4 • Published 6 months ago

@types/motion-scroll v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for motion-scroll 1.0
// Project: https://github.com/ninjabonsai/motion-scroll#readme
// Definitions by: Richard Rogers <https://github.com/ninjabonsai>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 08 Jul 2021 18:50:59 GMT
  • Dependencies: none
  • Global values: MotionScroll

Credits

These definitions were written by Richard Rogers.

1.0.2

8 months ago

1.0.4

6 months ago

1.0.3

7 months ago

1.0.1

3 years ago

1.0.0

5 years ago