跳到主要内容

finish 执行当前动作播放结束回调

finish

类型: MethodDeclaration

所属类: AnimationPlayer

定义位置: animation.ts

描述

执行当前动作播放结束回调

返回值

类型: void

源代码

位置: 第 896 行

public finish(): void {
const {callbacks} = this
if (callbacks !== null) {
this.callbacks = null
for (const callback of callbacks) {
callback(this)
}
}
}

文档生成时间:2025/7/7 12:07:06