@jsvision/ui / DialogOptions
Interface: DialogOptions
Defined in: ui/src/dialog/dialog.ts:31
Construction options for Dialog.
Properties
centered?
optionalcentered?:boolean
Defined in: ui/src/dialog/dialog.ts:46
Center the dialog in its parent. Defaults to true when a size is given via width/height (with no explicit rect position) — the modern convention; false for an explicit rect. Set explicitly to override either.
height?
optionalheight?:number
Defined in: ui/src/dialog/dialog.ts:40
Dialog height in cells (alternative to a full rect when you want the dialog auto-centered).
rect?
optionalrect?:Rect
Defined in: ui/src/dialog/dialog.ts:36
Optional initial absolute placement rect (the host/desktop may override). An explicit rect is a manual placement: it is honored verbatim and is NOT centered unless centered is set true.
title?
optionaltitle?:string
Defined in: ui/src/dialog/dialog.ts:33
Initial title (centered in the top border).
width?
optionalwidth?:number
Defined in: ui/src/dialog/dialog.ts:38
Dialog width in cells (alternative to a full rect when you want the dialog auto-centered).