From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/api/window/print/index.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 files/zh-cn/web/api/window/print/index.html (limited to 'files/zh-cn/web/api/window/print') diff --git a/files/zh-cn/web/api/window/print/index.html b/files/zh-cn/web/api/window/print/index.html new file mode 100644 index 0000000000..fd775a3283 --- /dev/null +++ b/files/zh-cn/web/api/window/print/index.html @@ -0,0 +1,20 @@ +--- +title: window.print +slug: Web/API/Window/print +translation_of: Web/API/Window/print +--- +

{{ ApiRef() }}

+

概述

+

打开打印对话框打印当前文档.

+

语法

+
window.print()
+
+

规范

+

{{ DOM0() }}

+

相关链接

+
    +
  1. Printing
  2. +
  3. window.onbeforeprint
  4. +
  5. window.onafterprint
  6. +
+

{{ languages( { "ja": "ja/DOM/window.print", "it": "it/DOM/window.print" , "en": "en/DOM/window.print" } ) }}

-- cgit v1.2.3-54-g00ecf