JavaScript Window resizeBy()
JavaScript Window resizeBy()
The resizeBy() method is used for resizing windows by a specified amount. Its similar method is resizeTo().
Syntax:-
Its syntax is:- resizeBy(width, height)
Further Explanation:-
Parameter | Description |
width | Required. The number of pixels to resize the width by. Can be both positive and negative numbers. |
height | Required. The number of pixels to resize the height by. Can be both positive and negative numbers. |