From f284b984484bc30d42aa45639b2b3b60fe7ad79f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=9C=E7=A7=8B=E5=AE=8F?= Date: Thu, 14 Aug 2025 22:07:16 +0800 Subject: [PATCH] =?UTF-8?q?SDK=E6=8E=A5=E5=8F=A3=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 潜秋宏 Change-Id: Ia70f272c1dca4ae5df9f212f4f7aa6d12077033f --- api/@internal/component/ets/gesture.d.ts | 32 +++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/api/@internal/component/ets/gesture.d.ts b/api/@internal/component/ets/gesture.d.ts index c9e761e808..5f6f279b39 100644 --- a/api/@internal/component/ets/gesture.d.ts +++ b/api/@internal/component/ets/gesture.d.ts @@ -2159,7 +2159,7 @@ export declare class Gesture { */ declare interface TapGestureParameters extends BaseHandlerOptions { /** - * Number of consecutive clicks recognized. If the value is less than 1, the default value is used. + * Number of consecutive clicks recognized. If the value is less than 1 or null, the default value is used. * * @type { ?number } * @syscap SystemCapability.ArkUI.ArkUI.Full @@ -2810,6 +2810,9 @@ declare class PanGestureOptions { interface PanGestureInterface extends GestureInterface { /** * Set the value. + * fingers: Indicates the hand index that triggers the pangesture. + * direction: Indicates the direction that triggers the pangesture. + * distance: Indicates the distance that triggers the pangesture. * * @param { { fingers?: number; direction?: PanDirection; distance?: number } | PanGestureOptions } value * @returns { PanGestureInterface } @@ -2818,6 +2821,9 @@ interface PanGestureInterface extends GestureInterface { */ /** * Set the value. + * fingers: Indicates the hand index that triggers the pangesture. + * direction: Indicates the direction that triggers the pangesture. + * distance: Indicates the distance that triggers the pangesture. * * @param { { fingers?: number; direction?: PanDirection; distance?: number } | PanGestureOptions } value * @returns { PanGestureInterface } @@ -2827,6 +2833,9 @@ interface PanGestureInterface extends GestureInterface { */ /** * Set the value. + * fingers: Indicates the hand index that triggers the pangesture. + * direction: Indicates the direction that triggers the pangesture. + * distance: Indicates the distance that triggers the pangesture. * * @param { { fingers?: number; direction?: PanDirection; distance?: number } | PanGestureOptions } value * @returns { PanGestureInterface } @@ -3083,6 +3092,9 @@ export declare class PanGesture extends Gesture { interface SwipeGestureInterface extends GestureInterface { /** * Set the value. + * fingers: Indicates the hand index that triggers the swipegesture. + * direction: Indicates the direction that triggers the swipegesture. + * speed: Indicates the speed that triggers the swipegesture. * * @param { object } value * @returns { SwipeGestureInterface } @@ -3091,6 +3103,9 @@ interface SwipeGestureInterface extends GestureInterface */ /** * Set the value. + * fingers: Indicates the hand index that triggers the swipegesture. + * direction: Indicates the direction that triggers the swipegesture. + * speed: Indicates the speed that triggers the swipegesture. * * @param { object } value * @returns { SwipeGestureInterface } @@ -3100,6 +3115,9 @@ interface SwipeGestureInterface extends GestureInterface */ /** * Set the value. + * fingers: Indicates the hand index that triggers the swipegesture. + * direction: Indicates the direction that triggers the swipegesture. + * speed: Indicates the speed that triggers the swipegesture. * * @param { object } value * @returns { SwipeGestureInterface } @@ -3222,6 +3240,8 @@ export declare class SwipeGesture extends Gesture { interface PinchGestureInterface extends GestureInterface { /** * Set the value. + * fingers: Indicates the hand index that triggers the pinchgesture. + * direction: Indicates the direction that triggers the pinchgesture. * * @param { object } value * @returns { PinchGestureInterface } @@ -3230,6 +3250,8 @@ interface PinchGestureInterface extends GestureInterface */ /** * Set the value. + * fingers: Indicates the hand index that triggers the pinchgesture. + * direction: Indicates the direction that triggers the pinchgesture. * * @param { object } value * @returns { PinchGestureInterface } @@ -3239,6 +3261,8 @@ interface PinchGestureInterface extends GestureInterface */ /** * Set the value. + * fingers: Indicates the hand index that triggers the pinchgesture. + * direction: Indicates the direction that triggers the pinchgesture. * * @param { object } value * @returns { PinchGestureInterface } @@ -3495,6 +3519,8 @@ export declare class PinchGesture extends Gesture { interface RotationGestureInterface extends GestureInterface { /** * Set the value. + * fingers: Indicates the hand index that triggers the rotationgesture. + * angle: Indicates the angle that triggers the rotationgesture. * * @param { object } value * @returns { RotationGestureInterface } @@ -3503,6 +3529,8 @@ interface RotationGestureInterface extends GestureInterface