From 2b09842b9adad38f8f81dd384ffa815e33fc209a Mon Sep 17 00:00:00 2001 From: houguobiao Date: Tue, 5 Aug 2025 23:11:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9ECustomDialogController?= =?UTF-8?q?=E7=B1=BB=E7=9A=84getExternalOptions=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houguobiao Change-Id: I39ae16a10c7b63efe8dbe4a80237748429c3a23b --- .../customDialogController.static.d.ets | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/api/arkui/component/customDialogController.static.d.ets b/api/arkui/component/customDialogController.static.d.ets index 697377cbfa..82ee98a07c 100644 --- a/api/arkui/component/customDialogController.static.d.ets +++ b/api/arkui/component/customDialogController.static.d.ets @@ -352,6 +352,23 @@ export declare interface CustomDialogControllerOptions { */ focusable?: boolean; } +/** + * Defines the external options of CustomDialogController. + * + * @interface CustomDialogControllerExternalOptions + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ +declare interface CustomDialogControllerExternalOptions { + /** + * Defines if use custom style. + * + * @type { ?boolean } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + customStyle?: boolean; +} /** * Use the CustomDialogController class to display the custom pop-up window. * @@ -381,4 +398,12 @@ export declare class CustomDialogController { * @since 20 */ close(): void; + /** + * Obtains the external options of CustomDialogController. + * + * @returns { CustomDialogControllerExternalOptions } return the external options of dialog. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + getExternalOptions(): CustomDialogControllerExternalOptions; } -- Gitee