diff options
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.html | 18 |
1 files changed, 18 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..066314234c --- /dev/null +++ b/files/zh-cn/conflicting/web/api/window/moveto/index.html @@ -0,0 +1,18 @@ +--- +title: Window.restore() +slug: conflicting/Web/API/Window/moveTo +translation_of: Web/API/Window/moveTo +translation_of_original: Web/API/Window/restore +original_slug: 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> |