DefaultDialogService class
Implements
Section titled “Implements”Public Methods
Section titled “Public Methods”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
openPrompt
Section titled “openPrompt”▸ openPrompt(title?: string
,content?: string
,defValue?: string
): Promise
<string
>
Parameters:
Section titled “Parameters:”- title:
string
, Optional - content:
string
, Optional - defValue:
string
, Optional
Returns Promise
<string
>
▸ openPrompt(title?: string
,content?: string
,defValue?: string
,callback?: (result: string
) => void
): void
Parameters:
Section titled “Parameters:”- title:
string
, Optional - content:
string
, Optional - defValue:
string
, Optional - callback: (result:
string
) =>void
, Optional
Returns void