Skip to content

Missing ViewTransition types field #1928

Closed
@GrandSchtroumpf

Description

@GrandSchtroumpf

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions