setWinSize
Sets the outerWidth
and outerHeight
of current window.
See Window at mdn to know about these values.
setWinSize(outerWidth, outerHeight)
#
ParametersouterWidth
: Anumber
. Outside width of the browser window in pixels.outerHeight
: Anumber
. Outside height of the browser window in pixels.
#
Returns- No value
#
ExamplesetWinSize(1020, 720)