Skip to content

VisualViewportAPI

Types

visualViewport

type visualViewport = {
offsetLeft: float,
offsetTop: float,
pageLeft: float,
pageTop: float,
width: float,
height: float,
scale: float,
}

Record fields

offsetLeft
float
offsetTop
float
pageLeft
float
pageTop
float
width
float
height
float
scale
float