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
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по