mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibWeb: Add various window transformation methods
This commit is contained in:
parent
81d1b129f7
commit
6a662e0d43
3 changed files with 68 additions and 0 deletions
|
@ -68,6 +68,11 @@ interface Window : EventTarget {
|
|||
[SameObject, Replaceable] readonly attribute Screen screen;
|
||||
[SameObject, Replaceable] readonly attribute VisualViewport? visualViewport;
|
||||
|
||||
undefined moveTo(long x, long y);
|
||||
undefined moveBy(long x, long y);
|
||||
undefined resizeTo(long x, long y);
|
||||
undefined resizeBy(long x, long y);
|
||||
|
||||
// viewport
|
||||
[Replaceable] readonly attribute long innerWidth;
|
||||
[Replaceable] readonly attribute long innerHeight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue