Επεξεργασία

Κοινή χρήση μέσω


canClose (app profile manager tab)

A Boolean value indicating whether a tab can be closed.

Note

If the canClose property is set to false, then the button to close the tab is hidden. Otherwise, the close button is visible.

Return value

None.

Example

const tab = Microsoft.Apm.getFocusedSession().getFocusedTab();
if (tab.canClose) {
    tab.close();
}