We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 208e56f commit 91bf511Copy full SHA for 91bf511
src/main/scala/org/scalajs/dom/raw/lib.scala
@@ -2704,6 +2704,20 @@ class Window
2704
* MDN
2705
*/
2706
def moveBy(deltaX: Int, deltaY: Int): Unit = js.native
2707
+
2708
+ /**
2709
+ * Dynamically resizes window.
2710
+ *
2711
+ * MDN
2712
+ */
2713
+ def resizeTo(width: Int, height: Int): Unit = js.native
2714
2715
2716
+ * Resizes the current window by a certain amount.
2717
2718
2719
2720
+ def resizeBy(deltaX: Int, deltaY: Int): Unit = js.native
2721
}
2722
2723
/**
0 commit comments