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

x/evt/lib/types/lib.dom.ts>DeviceAcceleration

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

Provides information about the amount of acceleration the device is experiencing along all three axes.

Properties

readonly
x: number | null
readonly
y: number | null
readonly
z: number | null