Skip to content

UI.innerHeight

UI.innerHeight is a read-only property that returns the height of the browser’s viewport, in pixels.

The viewport refers to the visible area of the page, excluding browser chrome such as the address bar, tabs, and window borders.

Usage

js
var h = UI.innerHeight