A window belonging to the group that should be disbanded, defaults to the current window/group
Undocks a window from any group it currently belongs to.
Has no effect if the window is not currently docked.
import {undockWindow} from 'openfin-layouts';
// Undock the current window (all are equivilant)
undockWindow();
undockWindow(fin.desktop.Window.getCurrent()); // Using 'v1' API
undockWindow(fin.Window.getCurrentSync()); // Using 'v2' API
// Undock a different window
undockWindow({uuid: 'my-app', name: 'other-window'});
The window to undock, defaults to the current window
Will undock every window that is currently connected to a current window.
This will completely disband the entire group, not just the windows directly touching
identity.Has no effect if
identityisn't currently snapped to any other window.import {undockGroup} from 'openfin-layouts'; // Undock all windows attached to the current window (all are equivilant) undockGroup(); undockGroup(fin.desktop.Window.getCurrent()); // Using 'v1' API undockGroup(fin.Window.getCurrentSync()); // Using 'v2' API // Undock all windows attached to a different window undockGroup({uuid: 'my-app', name: 'other-window'});Error: Ifidentityis not a valid WindowIdentityError: If the window specified byidentitydoes not existError: If the window specified byidentityhas been de-registered