unregisterAll 取消注册所有事件指令
unregisterAll
类型: MethodDeclaration
所属类: UIElement
定义位置: ui.ts
描述
取消注册所有事件指令
返回值
类型: void
源代码
位置: 第 1687 行
public unregisterAll(): void {
const map = this.registeredEvents
for (const key of Object.keys(map)) {
this.stopEvents(map[key]!)
delete map[key]
}
}
文档生成时间:2025/7/21 20:53:39