mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
!7524 Enable Sliding effect when component does not full screen
Merge pull request !7524 from 孙旭辉/master
This commit is contained in:
commit
b886cb4935
20
api/@internal/component/ets/common.d.ts
vendored
20
api/@internal/component/ets/common.d.ts
vendored
@ -10675,3 +10675,23 @@ declare module 'DragControllerParam' {
|
||||
export type { CustomBuilder, DragItemInfo, DragEvent };
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Define EdgeEffect Options.
|
||||
*
|
||||
* @interface EdgeEffectOptions
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
*/
|
||||
declare interface EdgeEffectOptions {
|
||||
/**
|
||||
* Enable Sliding effect when component does not full screen.
|
||||
*
|
||||
* @type { boolean }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
*/
|
||||
alwaysEnabled: boolean;
|
||||
}
|
12
api/@internal/component/ets/grid.d.ts
vendored
12
api/@internal/component/ets/grid.d.ts
vendored
@ -656,7 +656,17 @@ declare class GridAttribute extends CommonMethod<GridAttribute> {
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
*/
|
||||
edgeEffect(value: EdgeEffect): GridAttribute;
|
||||
/**
|
||||
* Called when the sliding effect is set.
|
||||
*
|
||||
* @param { EdgeEffect } value
|
||||
* @param { EdgeEffectOptions } options
|
||||
* @returns { GridAttribute } The attribute of the grid
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
*/
|
||||
edgeEffect(value: EdgeEffect, options?: EdgeEffectOptions): GridAttribute;
|
||||
|
||||
/**
|
||||
* Called to setting the nested scroll options.
|
||||
|
13
api/@internal/component/ets/list.d.ts
vendored
13
api/@internal/component/ets/list.d.ts
vendored
@ -666,7 +666,18 @@ declare class ListAttribute extends CommonMethod<ListAttribute> {
|
||||
* @since 10
|
||||
* @form
|
||||
*/
|
||||
edgeEffect(value: EdgeEffect): ListAttribute;
|
||||
/**
|
||||
* Called when the sliding effect is set.
|
||||
*
|
||||
* @param { EdgeEffect } value
|
||||
* @param { EdgeEffectOptions } options
|
||||
* @returns { ListAttribute }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
* @form
|
||||
*/
|
||||
edgeEffect(value: EdgeEffect, options?: EdgeEffectOptions): ListAttribute;
|
||||
|
||||
/**
|
||||
* Called when the ListItem split line style is set.
|
||||
|
12
api/@internal/component/ets/scroll.d.ts
vendored
12
api/@internal/component/ets/scroll.d.ts
vendored
@ -643,7 +643,17 @@ declare class ScrollAttribute extends CommonMethod<ScrollAttribute> {
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
*/
|
||||
edgeEffect(edgeEffect: EdgeEffect): ScrollAttribute;
|
||||
/**
|
||||
* Called when the sliding effect is set.
|
||||
*
|
||||
* @param { EdgeEffect } edgeEffect
|
||||
* @param { EdgeEffectOptions } options
|
||||
* @returns { ScrollAttribute }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
*/
|
||||
edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): ScrollAttribute;
|
||||
|
||||
/**
|
||||
* Called when scrolling begin each frame.
|
||||
|
Loading…
Reference in New Issue
Block a user