Closed
Description
ViewTransition types
The ViewTransition object now includes a types key of type ViewTransitionTypeSet
which implement the Set object.
/** Not sure if this is needed, but this is the name of the class when logs in the console */
type ViewTransitionTypeSet = Set<string>;
interface ViewTransition {
// Existing
readonly finished: Promise<undefined>;
readonly ready: Promise<undefined>;
readonly updateCallbackDone: Promise<undefined>;
skipTransition(): void;
// Missing
types: ViewTransitionTypeSet ;
}
Feature supported by Chome (125) and Safari (18).
Metadata
Metadata
Assignees
Labels
No labels