From 9f108a2d91229b6a0189ffec30e7d9e19f7009b3 Mon Sep 17 00:00:00 2001 From: zhou-chaobo Date: Sat, 13 Sep 2025 19:27:13 +0800 Subject: [PATCH] JS: event pass through Signed-off-by: zhou-chaobo --- api/@ohos.arkui.UIContext.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/@ohos.arkui.UIContext.d.ts b/api/@ohos.arkui.UIContext.d.ts index 9278165b5b..5ade70cf64 100644 --- a/api/@ohos.arkui.UIContext.d.ts +++ b/api/@ohos.arkui.UIContext.d.ts @@ -4840,6 +4840,16 @@ export declare class UIContext { * @since 21 */ static setResourceManagerCacheMaxCountForHSP(count: number): void; + + /** + * whether to enable or disable event pass through. + * + * @param { boolean } enabled - enable or disable event pass through. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @atomicservice + * @since 23 + */ + enableEventPassThrough(enabled: boolean): void; } /** -- Gitee