Refresh下拉跟手系数

Signed-off-by: yeyinglong_admin <yeyinglong@hisilicon.com>
This commit is contained in:
yeyinglong_admin 2024-04-08 18:45:16 +08:00
parent 0c7c00c448
commit eb99239535

View File

@ -462,6 +462,17 @@ declare class RefreshAttribute extends CommonMethod<RefreshAttribute> {
* @since 12
*/
onOffsetChange(callback: Callback<number>): RefreshAttribute;
/**
* Pull-down follow ratio for Refresh.
*
* @param { Optional<number> } ratio - Pull-down follow ratio for Refresh.
* @returns { RefreshAttribute } The attribute of the Refresh.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 12
*/
pullDownRatio(ratio: Optional<number>): RefreshAttribute;
}
/**