Skip to main content

addEventListeners 添加事件侦听器

addEventListeners

类型: MethodDeclaration

所属类: TextBoxElement

定义位置: ui.ts

描述

添加事件侦听器

返回值

类型: void

源代码

位置: 第 3115 行

private addEventListeners(): void {
const input = this.input
if (!input.events) return
for (const [type, listener] of input.events) {
input.on(type, listener)
}
}

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