0.2.3 • Published 6 months ago
@types/procurios.resizesensor v0.2.3
Installation
npm install --save @types/procurios.resizesensor
Summary
This package contains type definitions for procurios.resizesensor (https://github.com/procurios/ResizeSensor).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/procurios.resizesensor.
index.d.ts
// Type definitions for procurios.resizesensor 0.2
// Project: https://github.com/procurios/ResizeSensor
// Definitions by: Taylor Clark <https://github.com/tnclark8012>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace resizeSensor;
export function create(targetElement: HTMLElement, callback: (dimensions: Dimensions) => void): ResizeSensor;
export interface Dimensions {
width: number;
height: number;
}
export interface ResizeSensor {
destroy(): void;
}
Additional Details
- Last updated: Thu, 08 Jul 2021 22:41:08 GMT
- Dependencies: none
- Global values:
resizeSensor
Credits
These definitions were written by Taylor Clark.