Windows in RaptorFX are managed by the already existing window
object in JavaScript. That being said, here is a short list of methods and properties which can help you.
Methods | Description |
---|---|
window.close() | Closes the window. |
window.focus() | Brings the window to foreground. |
window.blur() | Minimizes the window. |
window.resizeTo(width, height) | Resizes the window to the specified width and height. |
window.resizeBy(width, height) | Resizes the window by the specified width and height. |
window.moveTo(x, y) | Moves the window to the specified x and y coordinates. |
window.moveBy(x, y) | Moves the window by the specified x and y coordinates. |
Properties | Description |
---|---|
window.innerHeight | The height of the window. |
window.innerWidth | The width of the window. |
window.outerHeight | The height of the display. |
window.outerWidth | The width of the display. |