Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DeviceOrientationEvent

The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. Available only in secure contexts.

interface DeviceOrientationEvent extends Event {
readonly absolute: boolean;
readonly alpha: number | null;
readonly beta: number | null;
readonly gamma: number | null;
}
var DeviceOrientationEvent: {
new (type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
}
;

§Extends

§Properties

§
readonly absolute: boolean
[src]
§
readonly alpha: number | null
[src]
§
readonly beta: number | null
[src]
§
readonly gamma: number | null
[src]