beforeprint ( onbeforeprint )イベント
window.onbeforeprint
beforeprint ( onbeforeprint )イベントは、印刷ダイアログボックスが開く前に発生するイベントです。 Eventインターフェイスのイベントタイプです。
Window オブジェクトに関するイベントで WindowEventHandlers ミックスインにみることができます。
似たイベントにonafterprintイベントがあります。
ページ内 Index
- ad -
Syntax
in HTML
<tagelement onbeforeprint="function()">
in JavaScript
object.onbeforeprint = function(){ };
object.addEventListener("beforeprint", script_);
備考(Remarks)
Bubbles | no |
Cancelable | no |
Interface | Event |
Supported HTML Elements | <body> |
Example
beforeprint( onbeforeprint ) イベントの例です。
- ad -