interface dom.ScreenOrientation
implements EventTarget
import { type dom } from "https://deno.land/x/evt@v2.4.22/lib/index.ts";
const { ScreenOrientation } = dom;
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,