overwolf.windows.bringToFront
Overwolf APIs / overwolf / overwolf / windows / bringToFront
Call Signature
function bringToFront(
windowId: string,
callback: CallbackFunction<WindowIdResult>,
): void;
Brings the requested window to the front.
Parameters
| Parameter | Type | Description |
|---|---|---|
windowId | string | The id or name of the window. |
callback | CallbackFunction<WindowIdResult> | Called with the result of the request. |
Returns
void
Call Signature
function bringToFront(callback: CallbackFunction<WindowIdResult>): void;
Brings this window to the front.
Parameters
| Parameter | Type | Description |
|---|---|---|
callback | CallbackFunction<WindowIdResult> | Called with the result of the request. |
Returns
void
Call Signature
function bringToFront(
grabFocus: boolean,
callback: CallbackFunction<WindowIdResult>,
): void;
Brings this window to the front.
Parameters
| Parameter | Type | Description |
|---|---|---|
grabFocus | boolean | Window will take system focus. |
callback | CallbackFunction<WindowIdResult> | Called with the result of the request. |
Returns
void
Call Signature
function bringToFront(
windowId: string,
grabFocus: boolean,
callback: CallbackFunction<WindowIdResult>,
): void;
Brings the requested window to the front.
Parameters
| Parameter | Type | Description |
|---|---|---|
windowId | string | The id or name of the window. |
grabFocus | boolean | Window will take system focus. |
callback | CallbackFunction<WindowIdResult> | Called with the result of the request. |
Returns
void