interface ScreenOrientation
implements EventTarget
import { type ScreenOrientation } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
Properties
onchange: ((this: ScreenOrientation, ev: Event) => any) | null
readonly
type: OrientationTypeMethods
lock(orientation: OrientationLockType): Promise<void>
addEventListener<K extends keyof ScreenOrientationEventMap>(): void
type: K,
listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof ScreenOrientationEventMap>(): void
type: K,
listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any,
options?: boolean | EventListenerOptions,