Skip to main content

abstractModalDialogHandler

Represent the strategy to use with any upcoming ModalDialog windows.

Learn more

Index

Methods

abstractacceptNext

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


    Returns Promise<void>

abstractacceptNextWithValue

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

    prompt``
    with a given
    text` value.


    Parameters

    • text: string | number

    Returns Promise<void>

abstractdismissNext

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


    Returns Promise<void>

abstractreset

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


    Returns Promise<void>

last