Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 852 Bytes

useViewTransitionState.md

File metadata and controls

33 lines (19 loc) · 852 Bytes
title
useViewTransitionState

useViewTransitionState

[MODES: framework, data]

Summary

Reference Documentation ↗

This hook returns true when 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 the Form, submit, or navigate call)

Signature

useViewTransitionState(to, opts): boolean

Params

to

[modes: framework, data, declarative]

No documentation

opts

[modes: framework, data, declarative]

No documentation