VisualViewport.pageLeft

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The pageLeft read-only property of the VisualViewport interface returns the x coordinate of the left edge of the visual viewport relative to the initial containing block origin, in CSS pixels.

Syntax

var pageLeft = VisualViewport.pageLeft

Value

A double.

Specifications

Specification
Visual Viewport API
# dom-visualviewport-pageleft

Browser compatibility

BCD tables only load in the browser