getSize()
gets the size of window
getSize(): object;
Returns:
An object with width and height of a window
Example
const size = dhxWindow.getSize(); // -> {width: 960, height: 469}
Related sample: Window. Set/get Window size
gets the size of window
An object with width and height of a window
Example
const size = dhxWindow.getSize(); // -> {width: 960, height: 469}
Related sample: Window. Set/get Window size