Skip to main content

Interface: MessageDialogDefinition

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Dialogs/MessageDialog.tsx:12

The Message Dialog interface.

Properties​

closeOnAccept?​

optional closeOnAccept: boolean

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Dialogs/MessageDialog.tsx:24

Whether to close this dialog after accept action


confirmButtonText?​

optional confirmButtonText: string

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Dialogs/MessageDialog.tsx:27

The text for the confirm button


hasRejectButton?​

optional hasRejectButton: boolean

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Dialogs/MessageDialog.tsx:30

Whether this dialog has a reject button


inputString?​

optional inputString: string

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Dialogs/MessageDialog.tsx:15

The message string, if any


rejectButtonText?​

optional rejectButtonText: string

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Dialogs/MessageDialog.tsx:33

The text for button 2, if any

Methods​

renderContent()?​

optional renderContent(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Dialogs/MessageDialog.tsx:21

Renders the message content of the dialog.

Returns​

VNode

the message content for the dialog as a VNode.