DialogContext.selectItem method
DialogContext › selectItem
Shows a selectItem, or lets the driver answer it.Signature:
selectItem(params: DialogContextSelectItemParams<T>): Promise<null | T>Parameters:
| Parameter | Type | Description |
|---|---|---|
| params | DialogContextSelectItemParams<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.