interface dom.DeviceMotionEvent
implements Event
import { type dom } from "https://deno.land/x/evt@v2.5.2/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 | nullreadonly
accelerationIncludingGravity: DeviceMotionEventAcceleration | nullreadonly
rotationRate: DeviceMotionEventRotationRate | null