Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Browser.Bounds
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { Bounds } = default.Browser;

Browser window bounds information

Properties

optional
left: integer

The offset from the left edge of the screen to the window in pixels.

optional
top: integer

The offset from the top edge of the screen to the window in pixels.

optional
width: integer

The window width in pixels.

optional
height: integer

The window height in pixels.

optional
windowState: WindowState

The window state. Default to normal.