Note | ||
---|---|---|
| ||
As of July 25th, 2023, there is a content freeze on this page. |
This function returns the size of the browser window as an object with 2 properties:
...
Code Block | ||||
---|---|---|---|---|
| ||||
// the following code retrieves the browser window width and height
var winSize = pui.getWindowSize();
var winWidth = winSize.width;
var winHeight = winSize.height;
|
...