aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/conflicting/web/api/window/moveto/index.html
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
commit310fd066e91f454b990372ffa30e803cc8120975 (patch)
treed5d900deb656a5da18e0b60d00f0db73f3a2e88e /files/zh-cn/conflicting/web/api/window/moveto/index.html
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.gz
translated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.bz2
translated-content-310fd066e91f454b990372ffa30e803cc8120975.zip
unslug zh-cn: move
Diffstat (limited to 'files/zh-cn/conflicting/web/api/window/moveto/index.html')
-rw-r--r--files/zh-cn/conflicting/web/api/window/moveto/index.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/files/zh-cn/conflicting/web/api/window/moveto/index.html b/files/zh-cn/conflicting/web/api/window/moveto/index.html
new file mode 100644
index 0000000000..140827ddb9
--- /dev/null
+++ b/files/zh-cn/conflicting/web/api/window/moveto/index.html
@@ -0,0 +1,17 @@
+---
+title: Window.restore()
+slug: Web/API/Window/restore
+translation_of: Web/API/Window/moveTo
+translation_of_original: Web/API/Window/restore
+---
+<p>{{APIRef}}</p>
+
+<p>这个方法现在已经失效,不过可以使用下面的方法代替:</p>
+
+<p>{{domxref("window.moveTo")}}({{domxref("window.screenX")}}, {{domxref("window.screenY")}});</p>
+
+<h2 id="Browser_Compatibility">Browser Compatibility</h2>
+
+
+
+<p>{{Compat("api.Window.restore")}}</p>