@jimka/typescript-ui / core / DialogConfig
Interface: DialogConfig
Defined in: src/typescript/lib/core/Dialog.ts:50
Configuration object passed to new Dialog(config) or Dialog.show(config).
Properties
buttons?
optional buttons: DialogButtonConfig[];Defined in: src/typescript/lib/core/Dialog.ts:61
Button definitions for the footer row. Defaults to a single OK button that resolves with 'confirm'.
closeOnBackdrop?
optional closeOnBackdrop: boolean;Defined in: src/typescript/lib/core/Dialog.ts:67
When true, clicking the backdrop closes the dialog with result 'close'. Defaults to false.
contentComponent?
optional contentComponent: Component;Defined in: src/typescript/lib/core/Dialog.ts:56
A custom component rendered in the content area instead of a message label.
height?
optional height: number;Defined in: src/typescript/lib/core/Dialog.ts:65
Dialog panel height in pixels. When omitted the height is computed from content.
message?
optional message: string;Defined in: src/typescript/lib/core/Dialog.ts:54
Plain-text body message. Ignored when contentComponent is provided.
title
title: string;Defined in: src/typescript/lib/core/Dialog.ts:52
Text displayed in the dialog title bar.
width?
optional width: number;Defined in: src/typescript/lib/core/Dialog.ts:63
Dialog panel width in pixels. Defaults to 480.