Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ScreenOrientation

Hierarchy

Index

Properties

EventTarget

EventTarget: { constructor: any; prototype: EventTarget }

Type declaration

Readonly angle

angle: number

onchange

onchange: ((this: ScreenOrientation, ev: Event) => any) | null

Readonly type

Methods

addEventListener

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    Returns boolean

lock

removeEventListener

unlock

  • unlock(): void
  • Returns void

Generated using TypeDoc