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 Status Comment
Visual Viewport API
The definition of 'pageLeft' in that specification.
Draft Initial definition.

Browser compatibility

BCD tables only load in the browser