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

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

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

The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page.

Properties

readonly
absolute: boolean
readonly
alpha: number | null
readonly
beta: number | null
readonly
gamma: number | null