Skip to main content

Interface: UiDialogView<Input, Output>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/UiSystem/UiDialogView.tsx:4

A dialog view which accepts requests for values.

Type Parameters​

Type Parameter
Input
Output

Methods​

request()​

request(input): Promise<UiDialogResult<Output>>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/UiSystem/UiDialogView.tsx:11

Requests a value from this dialog.

Parameters​

ParameterTypeDescription
inputInputInput parameters defining the request.

Returns​

Promise<UiDialogResult<Output>>

A Promise which is fulfilled with the result of the request. The result will indicate whether the request was cancelled, and if the request was not cancelled, it will also contain the requested value.