JavaScript Window moveTo()
JavaScript Window moveTo()
The moveTo() method is used to move a window to the specific coordinates.
Syntax:-
Its syntax is:- window.moveTo(x, y)
Further Explanation:-
Parameter | Description |
x | Required. Number of pixels to move to horizontally. A positive or negative number. . |
y | Required. Number of pixels to move to vertically. A positive or negative number. |