Skip to main content

autorun 调用自动执行事件

autorun

类型: MethodDeclaration

所属类: UIElementManager

定义位置: ui.ts

描述

调用自动执行事件

返回值

类型: void

源代码

位置: 第 6155 行

private autorun(): void {
for (let i = 0; i < this.activeCount; i++) {
this.activeElements[i]!.emit('autorun')
this.activeElements[i] = null
}
this.activeCount = 0
}

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