Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VisualViewport

Hierarchy

Index

Properties

EventTarget

EventTarget: { constructor: any; prototype: EventTarget }

Type declaration

Readonly height

height: number

Readonly offsetLeft

offsetLeft: number

Readonly offsetTop

offsetTop: number

onresize

onresize: ((this: VisualViewport, ev: UIEvent) => any) | null

onscroll

onscroll: ((this: VisualViewport, ev: Event) => any) | null

Readonly pageLeft

pageLeft: number

Readonly pageTop

pageTop: number

Readonly scale

scale: number

Readonly width

width: number

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

removeEventListener

Generated using TypeDoc