window.onafterprint = event handling code
Some browsers (including Firefox 6 and later and Internet Explorer) send
afterprint events to let content determine when printing may have occurred. You can use this to adjust the user interface presented during printing (such as by displaying or hiding user interface elements during the print process).
afterprint event is raised after the user prints or aborts a print dialog.
|HTML Living Standard
The definition of 'onafterprint' in that specification.
We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!
|Feature||Chrome||Edge||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Basic support||63.0||(Yes)||6.0||(Yes)||No support||No support|
|Feature||Android Webview||Chrome for Android||Edge||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Safari Mobile|
|?||No support||(Yes)||(Yes)||?||?||No support||?|