Skip to main content

Type Alias: Dimensions

Dimensions = object

Defined in: src/types.ts:37

Dimensions of an element

Properties

height

height: number

Defined in: src/types.ts:41

The element's height in pixels


left

left: number

Defined in: src/types.ts:45

The distance of the element from it's container left border in pixels


top

top: number

Defined in: src/types.ts:43

The distance of the element from it's container top border in pixels


width

width: number

Defined in: src/types.ts:39

The element's width in pixels