← Back to release summary

beforeprint and afterprint events

Category
Miscellaneous
Type
New or changed feature
Status
Enabled by default (Chrome 63)
Intent stage
None

Summary

'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.

Standards & signals

View on chromestatus.com