diff --git a/api/arkui/component/customDialogController.static.d.ets b/api/arkui/component/customDialogController.static.d.ets index 697377cbfacdf2f97900d1b29468421ad6ea3b53..82ee98a07c48f2b9e9fa750f7d626e39021b898a 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; }