mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
Refresh下拉跟手系数
Signed-off-by: yeyinglong_admin <yeyinglong@hisilicon.com>
This commit is contained in:
parent
0c7c00c448
commit
eb99239535
11
api/@internal/component/ets/refresh.d.ts
vendored
11
api/@internal/component/ets/refresh.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user