From d85a6a811dac26b460464495a65c7784a20f510c Mon Sep 17 00:00:00 2001 From: yeyinglong Date: Wed, 20 Aug 2025 03:08:25 +0000 Subject: [PATCH] =?UTF-8?q?currentOffset=E8=BF=94=E5=9B=9E=E5=80=BCundefin?= =?UTF-8?q?ed=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yeyinglong --- api/arkui/component/scroll.static.d.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/arkui/component/scroll.static.d.ets b/api/arkui/component/scroll.static.d.ets index ba937716b9..c8f879ac74 100644 --- a/api/arkui/component/scroll.static.d.ets +++ b/api/arkui/component/scroll.static.d.ets @@ -295,11 +295,11 @@ export declare class Scroller { /** * Obtains the current scrolling offset. * - * @returns { OffsetResult } Returns the current scrolling offset. If the scroller not bound to a component, the return value is void. + * @returns { OffsetResult | undefined } Returns the current scrolling offset. If the scroller not bound to a component, the return value is undefined. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - currentOffset(): OffsetResult; + currentOffset(): OffsetResult | undefined; /** * Scroll to the specified index. * -- Gitee