mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-08 07:36:38 +00:00
commit
238532a21a
41
api/@internal/component/ets/common.d.ts
vendored
41
api/@internal/component/ets/common.d.ts
vendored
@ -916,6 +916,36 @@ declare function $r(value: string, ...params: any[]): Resource;
|
||||
*/
|
||||
declare function $rawfile(value: string): Resource;
|
||||
|
||||
/**
|
||||
* Enum for FinishCallbackType.
|
||||
*
|
||||
* @enum { number }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @form
|
||||
* @since 11
|
||||
*/
|
||||
declare enum FinishCallbackType {
|
||||
/**
|
||||
* When the entire animation ends and will be removed immediately, the callback is triggered.
|
||||
*
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @form
|
||||
* @since 11
|
||||
*/
|
||||
REMOVED = 0,
|
||||
/**
|
||||
* When the animation is logically down but may still be in its long tail, the callback is triggered.
|
||||
*
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @form
|
||||
* @since 11
|
||||
*/
|
||||
LOGICALLY = 1,
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the animate function params.
|
||||
*
|
||||
@ -1095,6 +1125,17 @@ declare interface AnimateParam {
|
||||
* @form
|
||||
*/
|
||||
onFinish?: () => void;
|
||||
|
||||
/**
|
||||
* Define the type of onFinish callback in animation.
|
||||
*
|
||||
* @type { ?FinishCallbackType }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
* @form
|
||||
*/
|
||||
finishCallbackType?: FinishCallbackType;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user