overwolf.windows.setTopmost
Overwolf APIs / overwolf / overwolf / windows / setTopmost
function setTopmost(
windowId: string,
shouldBeTopmost: boolean,
callback: CallbackFunction<WindowIdResult>,
): void;
Change the window's topmost status. Handle with care as topmost windows can negatively impact user experience.
Parameters
| Parameter | Type | Description |
|---|---|---|
windowId | string | - |
shouldBeTopmost | boolean | - |
callback | CallbackFunction<WindowIdResult> | - |
Returns
void