次の方法で共有


getFocusedTab (アプリプロファイルマネージャー)

フォーカスされているタブのタブ オブジェクトを返します。

構文

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

戻り値

タブ オブジェクト。

Example

const tab = Microsoft.Apm.getFocusedSession().getFocusedTab();
tab.refresh();