Skip to main content

onMouseMove 鼠标移动事件

onMouseMove

类型: MethodDeclaration

所属类: ButtonElement

定义位置: ui.ts

描述

鼠标移动事件

返回值

类型: void

源代码

位置: 第 4475 行

public onMouseMove(): void {
if (!this.hover && !this.button.isProtected()) {
this.hover = true
UI.restoreRelatedButtons(this.button)
this.updateButtonState(true)
}
}

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