Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The contextrestored
event of the Canvas API is fired if the user agent restores the backing storage for a CanvasRenderingContext2D
.
You can redraw, re-retrieve resources, and reinitialize the state of your context after receiving this event.