Skip to content

marble3 / HudDialog

Type Alias: HudDialog ​

HudDialog = object

Defined in: src/hud.ts:27

A modal card: a title, a paragraph per line and one button. onClose runs when the button or the dimmed area around the card is clicked; it is where to call hud.dialog(null).

Properties ​

lines ​

lines: string[]

Defined in: src/hud.ts:29


onClose ​

onClose: () => void

Defined in: src/hud.ts:30

Returns ​

void


title ​

title: string

Defined in: src/hud.ts:28