diff options
Diffstat (limited to 'files/ja/web/api/windoweventhandlers/onbeforeprint/index.html')
| -rw-r--r-- | files/ja/web/api/windoweventhandlers/onbeforeprint/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/api/windoweventhandlers/onbeforeprint/index.html b/files/ja/web/api/windoweventhandlers/onbeforeprint/index.html index 3365ee7e4d..e19375e17d 100644 --- a/files/ja/web/api/windoweventhandlers/onbeforeprint/index.html +++ b/files/ja/web/api/windoweventhandlers/onbeforeprint/index.html @@ -14,7 +14,7 @@ translation_of: Web/API/WindowEventHandlers/onbeforeprint --- <div>{{ApiRef}}</div> -<p>{{domxref("WindowEventHandlers")}} ミックスインの <strong><code>onbeforeprint</code></strong> プロパティは、現在のウィンドウの {{event("beforeprint")}} イベントを処理するための {{domxref("EventHandler")}} です。 このイベントは、印刷ダイアログウィンドウが開く前に発生します。</p> +<p>{{domxref("WindowEventHandlers")}} ミックスインの <strong><code>onbeforeprint</code></strong> プロパティは、現在のウィンドウの {{event("beforeprint")}} イベントを処理するための {{event("Event_handlers")}} です。 このイベントは、印刷ダイアログウィンドウが開く前に発生します。</p> <p><code>beforeprint</code> イベントと {{event("afterprint")}} イベントを使用すると、印刷を開始する前にページでコンテンツを変更し(例えば、バナーを削除するなど)、印刷の完了後にそれらの変更を元に戻すことができます。 一般に、<code><a href="/ja/docs/Web/CSS/Media_Queries/Using_media_queries#Media_types">@media print</a></code> CSS @-規則の使用を好むはずですが、場合によってはこれらのイベントを使用する必要があるかもしれません。</p> |
