From 9b2db0d85c2ed0bb5a5048f58986a8ba084f2935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E5=87=AF?= Date: Tue, 9 Sep 2025 19:47:29 +0800 Subject: [PATCH] callback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘永凯 --- api/arkui/component/common.static.d.ets | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/api/arkui/component/common.static.d.ets b/api/arkui/component/common.static.d.ets index ea405b7a48..434159423f 100644 --- a/api/arkui/component/common.static.d.ets +++ b/api/arkui/component/common.static.d.ets @@ -4700,12 +4700,10 @@ export declare interface AxisEvent extends BaseEvent { /** * Active event bubbling. * - * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice * @since 20 */ - propagation: Callback; + propagation(): void; /** * Obtains the value of the horizontal scroll axis for this axis event. * @@ -5491,12 +5489,10 @@ export declare interface FocusAxisEvent extends BaseEvent { /** * The blocking event pops up. * - * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice * @since 20 */ - stopPropagation: Callback; + stopPropagation(): void; } /** * CrownEvent object description @@ -5544,12 +5540,10 @@ export declare interface CrownEvent { /** * The blocking event pops up. * - * @type { Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice * @since 20 */ - stopPropagation: Callback; + stopPropagation(): void; } /** * Overlay module options -- Gitee