DialogService interface
Methods
Section titled “Methods”▸ open(options: DialogOptions): Dialog
Parameters:
Section titled “Parameters:”- options: DialogOptions
Returns Dialog
openConfirm
Section titled “openConfirm”▸ openConfirm(title?: string
,content?: string
): Promise
<boolean
>
Parameters:
Section titled “Parameters:”- title:
string
, Optional - content:
string
, Optional
Returns Promise
<boolean
>
▸ openConfirm(title?: string
,content?: string
,callback?: (result: boolean
) => void
): void
Parameters:
Section titled “Parameters:”- title:
string
, Optional - content:
string
, Optional - callback: (result:
boolean
) =>void
, Optional
Returns void
▸ openConfirm(title?: string
,content?: string
,callback?: (result: boolean
) => void
): Promise
<boolean
> | void
Parameters:
Section titled “Parameters:”- title:
string
, Optional - content:
string
, Optional - callback: (result:
boolean
) =>void
, Optional
Returns Promise
<boolean
> | void
openProgress
Section titled “openProgress”▸ openProgress(options: ProgressDialogOptions): PorgressDialog
Parameters:
Section titled “Parameters:”- options: ProgressDialogOptions
Returns PorgressDialog
openPrompt
Section titled “openPrompt”▸ openPrompt(title?: string
,content?: string
,defVal?: string
): Promise
<string
>
Parameters:
Section titled “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:
Section titled “Parameters:”- title:
string
, Optional - content:
string
, Optional - defVal:
string
, Optional - callback: (result:
string
) =>void
, Optional
Returns void
▸ openPrompt(title?: string
,content?: string
,defVal?: string
,callback?: (result: string
) => void
): Promise
<string
> | void
Parameters:
Section titled “Parameters:”- title:
string
, Optional - content:
string
, Optional - defVal:
string
, Optional - callback: (result:
string
) =>void
, Optional
Returns Promise
<string
> | void