File tree 1 file changed +14
-7
lines changed
src/main/scala/org/scalajs/dom/raw
1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -2762,6 +2762,20 @@ class Window
2762
2762
* MDN
2763
2763
*/
2764
2764
var lostpointercapture : js.Function1 [PointerEvent , _] = js.native
2765
+
2766
+ /**
2767
+ * Moves the window to the specified coordinates.
2768
+ *
2769
+ * MDN
2770
+ */
2771
+ def moveTo (x : Int , y : Int ): Unit = js.native
2772
+
2773
+ /**
2774
+ * Moves the current window by a specified amount.
2775
+ *
2776
+ * MDN
2777
+ */
2778
+ def moveBy (deltaX : Int , deltaY : Int ): Unit = js.native
2765
2779
}
2766
2780
2767
2781
/**
@@ -3901,13 +3915,6 @@ class CanvasRenderingContext2D extends js.Object {
3901
3915
*/
3902
3916
def moveTo (x : Double , y : Double ): Unit = js.native
3903
3917
3904
- /**
3905
- * Moves the current window by a specified amount.
3906
- *
3907
- * MDN
3908
- */
3909
- def moveBy (deltaX : Double , deltaY : Double ): Unit = js.native
3910
-
3911
3918
/**
3912
3919
* Returns an ImageData object representing the underlying pixel data for the area of
3913
3920
* the canvas denoted by the rectangle which starts at (sx, sy) and has an sw width and sh
You can’t perform that action at this time.
0 commit comments