updateAllTexts 更新所有文本
updateAllTexts
类型: MethodDeclaration
定义位置: local.ts
描述
更新所有文本
返回值
类型: void
源代码
位置: 第 165 行
private updateAllTexts(): void {
    const update = (elements: Array<UIElement>) => {
      for (const element of elements) {
        element.updateTextContent?.()
        update(element.children)
      }
    }
    if (UI.root instanceof UIElement) {
      update(UI.root.children)
    }
  }
文档生成时间:2025/7/21 20:53:39