Skip to content

@serenity-is/sleekgrid / Position

Interface: Position

Defined in: src/core/editing.ts:7

Pixel bounds for positioning an editor or other overlay relative to the grid viewport.

Properties

bottom?

optional bottom: number

Defined in: src/core/editing.ts:9

Bottom offset in pixels.


height?

optional height: number

Defined in: src/core/editing.ts:11

Height in pixels.


left?

optional left: number

Defined in: src/core/editing.ts:13

Left offset in pixels.


optional right: number

Defined in: src/core/editing.ts:15

Right offset in pixels.


top?

optional top: number

Defined in: src/core/editing.ts:17

Top offset in pixels.


visible?

optional visible: boolean

Defined in: src/core/editing.ts:19

Whether the positioned element is currently visible.


width?

optional width: number

Defined in: src/core/editing.ts:21

Width in pixels.