@jsvision/ui / Placement
Interface: Placement
Defined in: ui/src/view/dsl.ts:199
Where a stack layer sits within the shared overlay box.
Each axis is either 'fill' (span the whole extent) or 'start'/'center'/'end' (align a fixed size given by width/height). An omitted axis defaults to 'fill'. Build one with place or the centered/topRight/bottomRight/topLeft conveniences.
Properties
h?
optionalh?:PlaceAxis
Defined in: ui/src/view/dsl.ts:201
Horizontal mode (default 'fill').
height?
optionalheight?:number
Defined in: ui/src/view/dsl.ts:207
Fixed height in cells for a non-fill vertical axis.
v?
optionalv?:PlaceAxis
Defined in: ui/src/view/dsl.ts:203
Vertical mode (default 'fill').
width?
optionalwidth?:number
Defined in: ui/src/view/dsl.ts:205
Fixed width in cells for a non-fill horizontal axis.