Skip to main content

externalabstractModalDialogHandler

Represent the strategy to use with any upcoming ModalDialog windows.

Learn more

Index

Methods

externalabstractacceptNext

  • acceptNext(): Promise<void>
  • Configures the handler to accept the next JavaScript modal dialog.


    Returns Promise<void>

externalabstractacceptNextWithValue

  • acceptNextWithValue(text: string | number): Promise<void>
  • Configures the handler to accept the next JavaScript

    prompt``
    with a given
    text` value.


    Parameters

    • externaltext: string | number

    Returns Promise<void>

externalabstractdismissNext

  • dismissNext(): Promise<void>
  • Configures the handler to dismiss the next JavaScript modal dialog.


    Returns Promise<void>

externalabstractreset

  • reset(): Promise<void>
  • Resets the handler to its default state.


    Returns Promise<void>

externallast