Skip to content

DialogContext.selectItem method

DialogContext › selectItem

Shows a selectItem, or lets the driver answer it.

Signature:

selectItem(params: DialogContextSelectItemParams<T>): Promise<null | T>

Parameters:

ParameterTypeDescription
paramsDialogContextSelectItemParams<T>The parameters of the selection.

Returns: Promise<null | T> — A Promise that resolves with the selected item, the identical instance from items, or null when dismissed.