Editar

Compartilhar via


refreshTab (app profile manager)

Refreshes the app tab in the current session.

Syntax

Microsoft.Apm.refreshTab(tabId);

Parameters

Name Type Required Description
tabId String Yes Unique identifier of the tab that has to be refreshed.

Return value

None.

Examples

The following examples use the refreshTab method to refresh a specified tab.

Refresh a tab using refreshTab method

Microsoft.Apm.refreshTab("tab-id-2")

Refresh a tab using refresh method

Microsoft.Apm.getFocusedSession().getFocusedTab().refresh();