updateCallbackDone property
The updateCallbackDone read-only property of the
ViewTransition interface is a Promise that fulfills when the promise
returned by the Document.startViewTransition method's callback fulfills,
or rejects when it rejects.
updateCallbackDone is useful when you don't care about the
success/failure of a same-document (SPA) view transition animation, and
just want to know if and when the DOM is updated.
Note: In the case of a cross-document (MPA) view transition, the
updateCallbackDonepromise of the associatedViewTransitionis automatically fulfilled.
Implementation
external JSPromise<JSAny?> get updateCallbackDone;