From d3b4cc1bdac51dd2165ba3e88c361f5ff2f5411f Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Tue, 11 Apr 2023 20:26:21 +0800 Subject: [PATCH] fixed afc1b1c from https://gitee.com/esterzhou/docs/pulls/17173 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 bf57049642..cdf79922c3 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 @@ -33,6 +33,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