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 @@ -2690,6 +2690,20 @@ class Window
2690
2690
* MDN
2691
2691
*/
2692
2692
var lostpointercapture : js.Function1 [PointerEvent , _] = js.native
2693
+
2694
+ /**
2695
+ * Moves the window to the specified coordinates.
2696
+ *
2697
+ * MDN
2698
+ */
2699
+ def moveTo (x : Int , y : Int ): Unit = js.native
2700
+
2701
+ /**
2702
+ * Moves the current window by a specified amount.
2703
+ *
2704
+ * MDN
2705
+ */
2706
+ def moveBy (deltaX : Int , deltaY : Int ): Unit = js.native
2693
2707
}
2694
2708
2695
2709
/**
@@ -3718,13 +3732,6 @@ class CanvasRenderingContext2D extends js.Object {
3718
3732
*/
3719
3733
def moveTo (x : Double , y : Double ): Unit = js.native
3720
3734
3721
- /**
3722
- * Moves the current window by a specified amount.
3723
- *
3724
- * MDN
3725
- */
3726
- def moveBy (deltaX : Double , deltaY : Double ): Unit = js.native
3727
-
3728
3735
/**
3729
3736
* Returns an ImageData object representing the underlying pixel data for the area of
3730
3737
* 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