Skip to content

Types: ViewTransitionConfig ​

ts
type ViewTransitionConfig = 
  | boolean
  | ViewTransitionTypes
  | ViewTransitionConfigOptions;

Whether a navigation animates with the View Transitions API. A boolean enables or disables the transition, an array of types or an options object enables it.