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

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

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

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