Interface IDialogWrapper

interface IDialogWrapper {
    alert: ((message?) => Promise<void>);
    confirm: ((message?) => Promise<boolean>);
    confirmSync: ((message?) => boolean);
    prompt: ((message?, _default?, cancel?) => Promise<null | string>);
}

Properties

alert: ((message?) => Promise<void>)

Type declaration

    • (message?): Promise<void>
    • Parameters

      • Optional message: string

      Returns Promise<void>

confirm: ((message?) => Promise<boolean>)

Type declaration

    • (message?): Promise<boolean>
    • Parameters

      • Optional message: string

      Returns Promise<boolean>

confirmSync: ((message?) => boolean)

Type declaration

    • (message?): boolean
    • Parameters

      • Optional message: string

      Returns boolean

prompt: ((message?, _default?, cancel?) => Promise<null | string>)

Type declaration

    • (message?, _default?, cancel?): Promise<null | string>
    • Parameters

      • Optional message: string
      • Optional _default: string
      • Optional cancel: boolean

      Returns Promise<null | string>

Generated using TypeDoc