Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.Screen

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.Screen
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { Screen } = dom;

A screen, usually the one on which the current window is being rendered, and is obtained using window.screen.

Properties

readonly
availHeight: number
readonly
availWidth: number
readonly
colorDepth: number
readonly
height: number
readonly
orientation: ScreenOrientation
readonly
pixelDepth: number
readonly
width: number