Options to configure the View Transitions integration in the Router.
API
interface ViewTransitionsFeatureOptions {
skipInitialTransition?: boolean | undefined;
onViewTransitionCreated?: ((transitionInfo: ViewTransitionInfo) => void) | undefined;
}
skipInitialTransition
boolean | undefinedSkips the very first call to startViewTransition. This can be useful for disabling the animation during the application's initial loading phase.
onViewTransitionCreated
((transitionInfo: ViewTransitionInfo) => void) | undefinedA function to run after the ViewTransition is created.
This function is run in an injection context and can use inject.