From bd05b3a854aa9ea04eb3ade789e3d7ec28e09bf5 Mon Sep 17 00:00:00 2001 From: Yao yuchi Date: Tue, 1 Mar 2022 14:57:22 +0800 Subject: [PATCH] =?UTF-8?q?grid=20d.ts=20=E8=BF=BD=E5=8A=A0=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yao yuchi --- api/@internal/component/ets/grid.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api/@internal/component/ets/grid.d.ts b/api/@internal/component/ets/grid.d.ts index fb54634f35..b35d8821f0 100644 --- a/api/@internal/component/ets/grid.d.ts +++ b/api/@internal/component/ets/grid.d.ts @@ -136,6 +136,18 @@ declare class GridAttribute extends CommonMethod { */ supportAnimation(value: boolean): GridAttribute; + /** + * control if the grid supports drag animation. + * @since 8 + */ + dragAnimation(value: boolean): GridAttribute; + + /** + * control if the grid supports edge effect animation. + * @since 8 + */ + edgeEffection(value: EdgeEffect): GridAttribute; + /** * After a listener is bound, the component can be dragged. After the drag occurs, a callback is triggered. * (To be triggered, press and hold for 170 milliseconds (ms)) -- Gitee