Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>DeviceAcceleration

Advanced Web Composition for Future
Latest
interface DeviceAcceleration
import { type DeviceAcceleration } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.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