@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?
optionalbottom:number
Defined in: src/core/editing.ts:9
Bottom offset in pixels.
height?
optionalheight:number
Defined in: src/core/editing.ts:11
Height in pixels.
left?
optionalleft:number
Defined in: src/core/editing.ts:13
Left offset in pixels.
right?
optionalright:number
Defined in: src/core/editing.ts:15
Right offset in pixels.
top?
optionaltop:number
Defined in: src/core/editing.ts:17
Top offset in pixels.
visible?
optionalvisible:boolean
Defined in: src/core/editing.ts:19
Whether the positioned element is currently visible.
width?
optionalwidth:number
Defined in: src/core/editing.ts:21
Width in pixels.