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.
Related articles
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för