In my intricate web application, I have multiple modal editors that require a short animation upon opening. However, before initializing the editor and beginning the animation, I must first DEINITIALIZE the main user interface due to its heavy resource usage. Therefore, my goal is to quickly capture a frozen "screenshot" of the main user interface without using html2canvas, remove it from the DOM, initialize the modal editor, and start the animation sequence.
Is there a specific API in the DOM for this purpose?