ViewTransitionProps
Properties
Assigns the view-transition-class
class to the underlying DOM node.
Combined with className if this <ViewTransition>
or its parent Component is mounted and there's no other with the same name being deleted. "none"
is a special value that deactivates the view transition name under that condition.
Combined with className if this <ViewTransition>
or its parent Component is unmounted and there's no other with the same name being deleted. "none"
is a special value that deactivates the view transition name under that condition.
"auto" will automatically assign a view-transition-name to the inner DOM node. That way you can add a View Transition to a Component without controlling its DOM nodes styling otherwise.
The <ViewTransition>
or its parent Component is mounted and there's no other <ViewTransition>
with the same name being deleted.
The <ViewTransition>
or its parent Component is unmounted and there's no other <ViewTransition>
with the same name being deleted.
This <ViewTransition>
is being mounted and another <ViewTransition>
instance with the same name is being unmounted elsewhere.
The content of <ViewTransition>
has changed either due to DOM mutations or because an inner child <ViewTransition>
has resized.
Combined with className if this <ViewTransition>
is being mounted and another instance with the same name is being unmounted elsewhere. "none"
is a special value that deactivates the view transition name under that condition.
Combined with className if the content of this <ViewTransition>
has changed either due to DOM mutations or because an inner child has resized. "none"
is a special value that deactivates the view transition name under that condition.