diff options
Diffstat (limited to 'files/de/web/api/window/print/index.html')
| -rw-r--r-- | files/de/web/api/window/print/index.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/files/de/web/api/window/print/index.html b/files/de/web/api/window/print/index.html new file mode 100644 index 0000000000..3043194293 --- /dev/null +++ b/files/de/web/api/window/print/index.html @@ -0,0 +1,50 @@ +--- +title: Window.print() +slug: Web/API/Window/print +translation_of: Web/API/Window/print +--- +<p>{{ ApiRef() }}</p> + +<p>Öffnet den Dialog zum Drucken des aktuellen Dokuments.</p> + +<p>In den meisten Browsern wird die Methode nicht ausgeführt, sofern bereits ein Druck-Dialog geöffnet ist.</p> + +<h2 id="Syntax" name="Syntax">Syntax</h2> + +<pre class="eval">window.print() +</pre> + +<h2 id="Specification" name="Specification">Anmerkungen</h2> + +<p>Seit Chrome Version {{CompatChrome(46.0)}} wird diese Methode innerhalb eines {{htmlelement("iframe")}} Elements blockiert, solange kein sandbox Attribut mit dem Wert <code>allow-modal</code> gesetzt ist.</p> + +<h2 id="Specification" name="Specification">Spezifikation</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Spezifikation</th> + <th scope="col">Status</th> + <th scope="col">Kommentare</th> + </tr> + <tr> + <td>{{SpecName('HTML5 Web application', '#dom-print', 'print()')}}</td> + <td>{{Spec2('HTML5 Web application')}}</td> + <td>Erste Definition.</td> + </tr> + </tbody> +</table> + +<h2 id="Browserkompatibilität">Browserkompatibilität</h2> + +<p>{{Compat("api.Window.print")}}</p> + +<h2 id="Siehe_auch">Siehe auch</h2> + +<ul> + <li><a href="/en/Printing" title="en/Printing">Printing</a></li> + <li>{{ domxref("window.onbeforeprint") }}</li> + <li>{{ domxref("window.onafterprint") }}</li> +</ul> + +<p>{{ languages( { "ja": "ja/DOM/window.print", "it": "it/DOM/window.print" , "zh-cn": "zh-cn/DOM/window.print" } ) }}</p> |
