onafterprintイベント
onafterprintイベントは、印刷ダイアログボックスが閉じられて、ページの印刷が開始すると発生するイベントです。 Eventインターフェイスのイベントタイプです。
safari、operaは対応していません。
似たイベントにonbeforeprintイベントがあります。
Syntax
in HTML
<tagelement onafterprint="function()">
in JavaScript
object.onafterprint = function(){ };
object.addEventListener("afterprint", script_);
備考(Remarks)
Bubbles | no |
Cancelable | no |
Interface | Event |
Supported HTML Elements | <body> |
関連(Related)
HTML、CSS、DOMの印刷に関する用途一覧です。
HTML
CSS
DOM
- インターフェイス
- イベント
- afterprint、 beforeprint
- プロパティ
- メソッド