From b0b216ce34a26fc96c16e0251f122c3acbf62110 Mon Sep 17 00:00:00 2001 From: zhou-chaobo Date: Mon, 4 Aug 2025 21:38:05 +0800 Subject: [PATCH] JS:add getPinchAxisValue Signed-off-by: zhou-chaobo --- api/@internal/component/ets/common.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 1ee4bb3150..b2dfbdb6ea 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -13756,6 +13756,16 @@ declare interface AxisEvent extends BaseEvent { * @arkts 1.1&1.2 */ getVerticalAxisValue(): number; + + /** + * Obtains the value of the pinch axis for this axis event. + * + * @returns { number } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @atomicservice + * @since 21 + */ + getPinchAxisScaleValue(): number; } /** -- Gitee