如何动态更新“资源管理器”标题 #3101
Answered
by
erha19
MilkWangStudio
asked this question in
Q&A
如何动态更新“资源管理器”标题
#3101
-
需要切换目录树的版本,想在切换时将标题动态修改为“资源管理器[xxxx]”之类的名称。xxxx是根据接口动态返回的,请问有什么参数可以控制吗? |
Beta Was this translation helpful? Give feedback.
Answered by
erha19
Oct 8, 2023
Replies: 1 comment
-
@MilkWangStudio 你可以通过 MainLayoutService 获取到响应面板的 handler,其中有 例如 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MilkWangStudio
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@MilkWangStudio 你可以通过 MainLayoutService 获取到响应面板的 handler,其中有
updateTitle
方法可用于更新面板 Title。例如
const handler = this.mainLayoutService.getTabbarHandler(EXPLORER_CONTAINER_ID);