DOM

settings_applicationsEventTarget  >   settings_applicationsNode  >   settings_applicationsElement  >   settings_applicationsHTMLElement  >   settings_applicationsHTMLBodyElement

DOM

Editing
  • bug_report

Eventbeforeprint

insert_drive_fileEventinterfaceopen_in_new
Event interface는 HTMLBodyElement에서 beforeprint 이벤트 타입으로 구현된다.

HTMLBodyElement의 beforeprint는 Event interface의 이벤트 타입이고 이벤트 리스너에서 사용된다.

기본 개요

문서가 인쇄되거나 인쇄를 위해 미리보기가 될 때 발생한다.

구문

형식
window.addEventListener("beforeprint", function() { } );

명세

typebeforeprint
bubblesno
cancelableno
targetWindow
handleryes

지원 웹브라우저