The To location to check for an active View Transition.
Options
Optionalrelative?: RelativeRoutingTypeThe relative routing type to use when resolving the
to location, defaults to "route". See RelativeRoutingType for
more details.
true if there is an active View Transition
to the specified Location, otherwise false.
This hook returns
truewhen there is an active View Transition to the specified location. This can be used to apply finer-grained styles to elements to further customize the view transition. This requires that view transitions have been enabled for the given navigation via LinkProps.viewTransition (or theForm,submit, ornavigatecall)