externalabstractModalDialogHandler
Index
Methods
externalabstractacceptNext
Configures the handler to accept the next JavaScript modal dialog.
Returns Promise<void>
externalabstractacceptNextWithValue
Configures the handler to accept the next JavaScript
text` value.prompt``
with a givenParameters
externaltext: string | number
Returns Promise<void>
externalabstractdismissNext
Configures the handler to dismiss the next JavaScript modal dialog.
Returns Promise<void>
externalabstractreset
Resets the handler to its default state.
Returns Promise<void>
externallast
Returns the most recently handled
ModalDialog
, orAbsentModalDialog
when no dialogs have been handled yet.Returns Promise<ModalDialog>
Represent the strategy to use with any upcoming
ModalDialog
windows.Learn more
ModalDialog
Page.modalDialog