GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing developer.mozilla.org — Window: resizeTo() method - Web APIs | MDN Window: resizeTo() method
|
| Specification |
|---|
| CSSOM View Module # dom-window-resizeto |
Note: It's not possible to resize a window or tab that wasn't created by
window.open(). It's also not possible to resize when the
window has multiple tabs.
Note:
This function might not resize the window synchronously.
In some environments (like mobile) it might not resize the window at all. You
can listen to the resize event to see
if/when the window got resized.