diff --git a/api/@internal/component/ets/lazy_grid_layout.d.ts b/api/@internal/component/ets/lazy_grid_layout.d.ts index cea50944567483887209346cf166d673b7894ceb..cd34f5b29491d8168ca9b0c93bf0c6c3212bb8c6 100644 --- a/api/@internal/component/ets/lazy_grid_layout.d.ts +++ b/api/@internal/component/ets/lazy_grid_layout.d.ts @@ -18,6 +18,12 @@ * @kit ArkUI */ + +/*** if arkts 1.2 */ +import { CommonMethod } from './common'; +import { LengthMetrics } from '../Graphics'; +/*** endif */ + /** * Defines the lazy vertical grid layout component. * @@ -25,7 +31,8 @@ * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since arkts {'1.1':'18','1.2':'20'} + * @arkts 1.1&1.2 */ interface LazyVGridLayoutInterface { /** @@ -35,7 +42,8 @@ interface LazyVGridLayoutInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since arkts {'1.1':'18','1.2':'20'} + * @arkts 1.1&1.2 */ (): LazyVGridLayoutAttribute; } @@ -47,30 +55,33 @@ interface LazyVGridLayoutInterface { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since arkts {'1.1':'18','1.2':'20'} + * @arkts 1.1&1.2 */ declare class LazyGridLayoutAttribute extends CommonMethod { /** * The spacing between rows. * - * @param { Length } value + * @param { LengthMetrics } value * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since arkts {'1.1':'18','1.2':'20'} + * @arkts 1.1&1.2 */ rowsGap(value: LengthMetrics): T; /** * The spacing between columns. * - * @param { Length } value + * @param { LengthMetrics } value * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since arkts {'1.1':'18','1.2':'20'} + * @arkts 1.1&1.2 */ columnsGap(value: LengthMetrics): T; } @@ -82,7 +93,8 @@ declare class LazyGridLayoutAttribute extends CommonMethod { * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice - * @since 18 + * @since arkts {'1.1':'18','1.2':'20'} + * @arkts 1.1&1.2 */ declare class LazyVGridLayoutAttribute extends LazyGridLayoutAttribute { /** @@ -93,7 +105,8 @@ declare class LazyVGridLayoutAttribute extends LazyGridLayoutAttribute