@jimka/typescript-ui / core / DialogButtonConfig
Interface: DialogButtonConfig
Defined in: src/typescript/lib/core/Dialog.ts:34
Configuration for a single button in a dialog's button row.
Properties
glyph?
ts
optional glyph: string;Defined in: src/typescript/lib/core/Dialog.ts:42
Optional registry glyph name shown to the left of the button label.
primary?
ts
optional primary: boolean;Defined in: src/typescript/lib/core/Dialog.ts:40
When true, renders the button with primary (confirm) styling.
result?
ts
optional result: DialogResult;Defined in: src/typescript/lib/core/Dialog.ts:38
The result value emitted when this button is clicked. Defaults to 'cancel'.
text
ts
text: string;Defined in: src/typescript/lib/core/Dialog.ts:36
The label text displayed on the button.