提交 d3b4cc1b 编写于 作者: E ester.zhou
上级 b13cf26b
...@@ -33,6 +33,9 @@ CustomDialogController(value:{builder: CustomDialog, cancel?: () => void, aut ...@@ -33,6 +33,9 @@ CustomDialogController(value:{builder: CustomDialog, cancel?: () => void, aut
```ts ```ts
dialogController : CustomDialogController = new CustomDialogController(value:{builder: CustomDialog, cancel?: () => void, autoCancel?: boolean}) 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()
open(): void open(): void
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册