Skip to content

Function closeViewport()

closeViewport(requireConfirmation: boolean, name: string): void

Source: browser.utils.ts

Simulates closing the viewport by opening a blank page.

Parameters

requireConfirmation

boolean = false

Whether to require confirmation before closing.

name

string

Name of the app.

Returns

void

Built by Prozilla