跳到主要内容

restoreRelatedButtons 恢复相关的按钮

restoreRelatedButtons

类型: MethodDeclaration

定义位置: ui.ts

描述

恢复相关的按钮

参数 button: 按钮元素

参数

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

返回值

类型: void

源代码

位置: 第 522 行

public restoreRelatedButtons(button: ButtonElement): void {
for (const focus of this.focuses) {
if (focus.contains(button)) {
this.restoreFocusedButtons(focus, button)
return
}
}
}

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