Skip to main content
Module

x/evt/mod.ts>dom.DeviceAcceleration

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.DeviceAcceleration
import { type dom } from "https://deno.land/x/evt@v2.4.3/mod.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