Skip to main content
Module

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

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

The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation.

Properties

readonly
acceleration: DeviceMotionEventAcceleration | null
readonly
accelerationIncludingGravity: DeviceMotionEventAcceleration | null
readonly
interval: number
readonly
rotationRate: DeviceMotionEventRotationRate | null