beforeprint and afterprint events

'beforeprint' event is dispatched before starting printing, and 'afterprint' event is dispatched after finishing printing. They are useful to build printing-only content, and clean it up.

Specification

Established standard

Status in Chromium

Blink>HTML


Enabled by default (tracking bug) in:

  • Chrome for desktop release 63
  • Chrome for Android release 63
  • Android WebView release 63

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped
  • Shipped
  • No public signals
  • Positive

Owner

Last updated on 2017-09-27