focusTab (app profile manager)
Sets the focus on a specified tab in the current session.
Syntax
Microsoft.Apm.focusTab(tabId);
Parameters
Name | Type | Required | Description |
---|---|---|---|
tabId | String | Yes | Unique identifier of the tab to be focused. |
Return value
None.
Examples
The following examples use the focusTab
method to set the focus on a specified tab.
Set a tab in focus using Microsoft.Apm.focusTab(tabId)
Microsoft.Apm.focusTab("tab-id-5);
Set a tab in focus using Microsoft.Apm.getFocusedSession().getTab().focus()
Microsoft.Apm.getFocusedSession().getTab("tab-id-5").focus();
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de