diff --git a/api/@internal/component/ets/grid.d.ts b/api/@internal/component/ets/grid.d.ts index fb54634f35b985a9b9bedea76e1134248687a435..b35d8821f0d0e32a58c563de1a677d5dfa2c4570 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))