Editar

Partilhar via


getViewPortWidth (Client API reference)

Get the width of the viewport in pixels.

The viewport is the area of the page containing form data. It corresponds to the body of the form and does not include the navigation, header, footer or form assistant areas of the page.

Syntax

formContext.ui.getViewPortWidth();

Return Value

Type: Number

Description: The viewport width in pixels.

getViewPortHeight
formContext.ui
formContext