Skip to main content

The Viewport object

Information about the canvas size in the current viewport.

Properties

All properties for Viewport with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.

height

The height, in px.

width

number

The width.