Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

ViewTransitionInfo

The information passed to the onViewTransitionCreated function provided in the withViewTransitions feature options.

      
      interface ViewTransitionInfo {
  transition: {...}
  from: ActivatedRouteSnapshot
  to: ActivatedRouteSnapshot
}
    

Properties

Property Description
transition: { finished: Promise<void>; ready: Promise<void>; updateCallbackDone: Promise<void>; skipTransition(): void; }

The ViewTransition returned by the call to startViewTransition.

See also:

from: ActivatedRouteSnapshot

The ActivatedRouteSnapshot that the navigation is transitioning from.

to: ActivatedRouteSnapshot

The ActivatedRouteSnapshot that the navigation is transitioning to.