Skip to main content

stopEvents 停止指定的正在执行的(多个)事件

stopEvents

类型: MethodDeclaration

所属类: UIElement

定义位置: ui.ts

描述

停止指定的正在执行的(多个)事件

参数 commandList: 指令函数列表

参数

参数名类型描述默认值
commandListCommandFunctionList--

返回值

类型: void

源代码

位置: 第 1699 行

public stopEvents(commandList: CommandFunctionList): void {
for (const updater of this.updaters) {
if (updater instanceof EventHandler && updater.initial === commandList) {
updater.finish()
}
}
}

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