From afc1b1c88732e825cb6f0c8dda5822d1b733b561 Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Tue, 11 Apr 2023 20:26:21 +0800 Subject: [PATCH] Update doc (16424) Signed-off-by: ester.zhou --- .../reference/arkui-ts/ts-methods-custom-dialog-box.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/en/application-dev/reference/arkui-ts/ts-methods-custom-dialog-box.md b/en/application-dev/reference/arkui-ts/ts-methods-custom-dialog-box.md index 56ebc03a81..0f15335b6b 100644 --- a/en/application-dev/reference/arkui-ts/ts-methods-custom-dialog-box.md +++ b/en/application-dev/reference/arkui-ts/ts-methods-custom-dialog-box.md @@ -37,6 +37,9 @@ CustomDialogController(value:{builder: CustomDialog, cancel?: () => void, aut ```ts dialogController : CustomDialogController = new CustomDialogController(value:{builder: CustomDialog, cancel?: () => void, autoCancel?: boolean}) ``` +> **NOTE** +> +> **CustomDialogController** is valid only when it is a member variable of the **@CustomDialog** and **@Component** decorated struct and is defined in the **@Component** decorated struct. For details, see the following example. ### open() open(): void -- GitLab