Skip to main content
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.3/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