DefaultDialogService class

Implements

DialogService

Index

Public Methods

Public Methods


open

▸ open(options: DialogOptions): DefaultDialog

Parameters:

Returns DefaultDialog


openConfirm

▸ openConfirm(title?: string,content?: string): Promise<boolean>

Parameters:

  • title: string, Optional
  • content: string, Optional

Returns Promise<boolean>

▸ openConfirm(title?: string,content?: string,callback?: (result: boolean) => void): void

Parameters:

  • title: string, Optional
  • content: string, Optional
  • callback: (result: boolean) => void, Optional

Returns void


openProgress

▸ openProgress(options: ProgressDialogOptions): DefaultProgressDialog

Parameters:

Returns DefaultProgressDialog


openPrompt

▸ openPrompt(title?: string,content?: string,defVal?: string): Promise<string>

Parameters:

  • title: string, Optional
  • content: string, Optional
  • defVal: string, Optional

Returns Promise<string>

▸ openPrompt(title?: string,content?: string,defVal?: string,callback?: (result: string) => void): void

Parameters:

  • title: string, Optional
  • content: string, Optional
  • defVal: string, Optional
  • callback: (result: string) => void, Optional

Returns void