We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27a4cbe commit c9735a3Copy full SHA for c9735a3
src/main/scala/org/scalajs/dom/raw/lib.scala
@@ -2776,6 +2776,20 @@ class Window
2776
* MDN
2777
*/
2778
def moveBy(deltaX: Int, deltaY: Int): Unit = js.native
2779
+
2780
+ /**
2781
+ * Dynamically resizes window.
2782
+ *
2783
+ * MDN
2784
+ */
2785
+ def resizeTo(width: Int, height: Int): Unit = js.native
2786
2787
2788
+ * Resizes the current window by a certain amount.
2789
2790
2791
2792
+ def resizeBy(deltaX: Int, deltaY: Int): Unit = js.native
2793
}
2794
2795
/**
0 commit comments