Appearance
Function: closePage()
ts
function closePage(ctx: Context): Promise<void>;Defined in: src/pages/index.ts:263
Close the current browser tab.
Parameters
| Parameter | Type | Description |
|---|---|---|
ctx | Context | The current Context. |
Returns
Promise<void>
Example
ts
await closePage(ctx);