3.0.4 • Published 6 months ago

@types/mouse-event-offset v3.0.4

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

Installation

npm install --save @types/mouse-event-offset

Summary

This package contains type definitions for mouse-event-offset (https://github.com/mattdesl/mouse-event-offset).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mouse-event-offset.

index.d.ts

// Type definitions for mouse-event-offset 3.0
// Project: https://github.com/mattdesl/mouse-event-offset
// Definitions by: Saiichi Hashimoto <https://github.com/saiichihashimoto>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.8

import type { MouseEvent, TouchEvent } from 'react';

declare function offset(e: MouseEvent | TouchEvent, element?: HTMLElement): [number, number];

export = offset;

Additional Details

  • Last updated: Fri, 01 Oct 2021 23:01:37 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Saiichi Hashimoto.

3.0.4

6 months ago

3.0.3

7 months ago

3.0.2

8 months ago

3.0.1

3 years ago

3.0.0

3 years ago