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();
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for