Type alias DialogV2ButtonCallback
DialogV2ButtonCallback: ((event, button, dialog) => Promise<any>)
Type declaration
- (event, button, dialog): Promise<any>
Parameters
- event: PointerEvent | SubmitEvent
- button: HTMLButtonElement
- dialog: HTMLDialogElement
Returns Promise<any>
The button click event, or a form submission event if the dialog was submitted via keyboard.