Skip to content

API Type UIDisplay

github-actions[bot] edited this page Nov 29, 2026 · 5 revisions

Type Alias: UIDisplay

type UIDisplay = "flex" | "none" | "inline-block" | "inline-flex";

Defined in: src/engine/ui/components.ts:38

none takes an element and its children out of layout, drawing and the pointer. ADR 0432: inside a text element, inline-block (or inline-flex) lays an element out as an atomic inline box on the text's lines, its content in a layout of its own; elsewhere both lay out as flex.

Clone this wiki locally