Skip to main content
Module

x/commandis/mod.ts>dom.DeviceMotionEvent

Official framework for Corddis lib ( for Deno only )
Latest
interface dom.DeviceMotionEvent
implements Event
import { type dom } from "https://deno.land/x/commandis@v0.6.5/mod.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