mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 14:13:45 +00:00
modify for promptAction customDialog
Signed-off-by: niulihua <niulihua3@huawei.com> Change-Id: Ia725f9414ab8051a27a499054f9f1f0695eff172
This commit is contained in:
parent
fb0e397141
commit
19a089254b
4
api/@ohos.promptAction.d.ts
vendored
4
api/@ohos.promptAction.d.ts
vendored
@ -591,14 +591,14 @@ declare namespace promptAction {
|
||||
* Open the custom dialog.
|
||||
*
|
||||
* @param { CustomDialogOptions } options - Options.
|
||||
* @returns { number } return the dialog id that will be used by closeCustomDialog.
|
||||
* @returns { Promise<number> } return the dialog id that will be used by closeCustomDialog.
|
||||
* @throws { BusinessError } 401 - if the number of parameters is not 1 or the type of parameters is incorrect.
|
||||
* @throws { BusinessError } 100001 - if UI execution context not found.
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
*/
|
||||
function openCustomDialog(options: CustomDialogOptions): number;
|
||||
function openCustomDialog(options: CustomDialogOptions): Promise<number>;
|
||||
|
||||
/**
|
||||
* Close the custom dialog.
|
||||
|
Loading…
Reference in New Issue
Block a user