ready property

JSPromise<JSAny?> get ready

The ready read-only property of the ViewTransition interface is a Promise that fulfills once the pseudo-element tree is created and the transition animation is about to start.

ready will reject if the transition cannot begin. This can be due to misconfiguration, for example, duplicate s, or if the callback passed to Document.startViewTransition throws or returns a promise that rejects.

Implementation

external JSPromise<JSAny?> get ready;