focusEvent 输入框获得焦点事件
focusEvent
类型: MethodDeclaration
所属类: TextBoxElement
定义位置: ui.ts
描述
输入框获得焦点事件
返回值
类型: void
源代码
位置: 第 3061 行
private focusEvent(): void {
    if (!this.focusing) {
      this.focusing = true
      this._cursorVisible = true
      this._cursorElapsed = 0
      // 发送获得焦点事件
      this.emit('focus')
    }
  }
文档生成时间:2025/7/21 20:53:39