Editing
EventHandleronbeforeprint
기본 개요
문서가 인쇄되거나 인쇄를 위해 미리보기가 될 때 발생한다.
구문
- 형식
window.onbeforeprint = function() {};
- 형식
window.addEventListener("beforeprint", function() { } );
명세
type | beforeprint |
---|
bubbles | no |
---|
cancelable | no |
---|
target | Window |
---|
handler | yes |
---|
지원 웹브라우저