Installation
npm install --save @types/get-size
Summary
This package contains type definitions for get-size (https://github.com/desandro/get-size).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-size.
interface Size {
width: number;
height: number;
innerWidth: number;
innerHeight: number;
outerWidth: number;
outerHeight: number;
paddingLeft: number;
paddingRight: number;
paddingTop: number;
paddingBottom: number;
marginLeft: number;
marginRight: number;
marginTop: number;
marginBottom: number;
borderLeftWidth: number;
borderRightWidth: number;
borderTopWidth: number;
borderBottomWidth: number;
isBorderBox: boolean;
}
declare function getSize(element: string | Element): Size;
export = getSize;
Additional Details
- Last updated: Wed, 20 Mar 2024 12:09:31 GMT
- Dependencies: none
Credits
These definitions were written by Leon Si.