Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The updateCallbackDone
read-only property of the ViewTransition
interface is a Promise
that fulfills when the promise returned by the document.startViewTransition()
's callback fulfills, or rejects when it rejects.
updateCallbackDone
is useful when you don't care about the success/failure of the transition animation, and just want to know if and when the DOM is updated.