You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: types/react/experimental.d.ts
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,21 @@ declare module "." {
136
136
* Assigns the {@link https://developer.chrome.com/blog/view-transitions-update-io24#view-transition-class `view-transition-class`} class to the underlying DOM node.
137
137
*/
138
138
className?: string|undefined;
139
+
/**
140
+
* Combined with {@link className} if this `<ViewTransition>` or its parent Component is mounted and there's no other with the same name being deleted.
141
+
* `"none"` is a special value that deactivates the view transition name under that condition.
142
+
*/
143
+
enter?: "none"|(string&{})|undefined;
144
+
/**
145
+
* Combined with {@link className} if this `<ViewTransition>` or its parent Component is unmounted and there's no other with the same name being deleted.
146
+
* `"none"` is a special value that deactivates the view transition name under that condition.
147
+
*/
148
+
exit?: "none"|(string&{})|undefined;
149
+
/**
150
+
* Combined with {@link className} there are no updates to the content inside this boundary itself but the boundary has resized or moved due to other changes to siblings.
151
+
* `"none"` is a special value that deactivates the view transition name under that condition.
152
+
*/
153
+
layout?: "none"|(string&{})|undefined;
139
154
/**
140
155
* "auto" will automatically assign a view-transition-name to the inner DOM node.
141
156
* That way you can add a View Transition to a Component without controlling its DOM nodes styling otherwise.
* Combined with {@link className} if this `<ViewTransition>` is being mounted and another instance with the same name is being unmounted elsewhere.
185
+
* `"none"` is a special value that deactivates the view transition name under that condition.
186
+
*/
187
+
share?: "none"|(string&{})|undefined;
188
+
/**
189
+
* Combined with {@link className} if the content of this `<ViewTransition>` has changed either due to DOM mutations or because an inner child has resized.
190
+
* `"none"` is a special value that deactivates the view transition name under that condition.
Copy file name to clipboardExpand all lines: types/react/ts5.0/experimental.d.ts
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,21 @@ declare module "." {
136
136
* Assigns the {@link https://developer.chrome.com/blog/view-transitions-update-io24#view-transition-class `view-transition-class`} class to the underlying DOM node.
137
137
*/
138
138
className?: string|undefined;
139
+
/**
140
+
* Combined with {@link className} if this `<ViewTransition>` or its parent Component is mounted and there's no other with the same name being deleted.
141
+
* `"none"` is a special value that deactivates the view transition name under that condition.
142
+
*/
143
+
enter?: "none"|(string&{})|undefined;
144
+
/**
145
+
* Combined with {@link className} if this `<ViewTransition>` or its parent Component is unmounted and there's no other with the same name being deleted.
146
+
* `"none"` is a special value that deactivates the view transition name under that condition.
147
+
*/
148
+
exit?: "none"|(string&{})|undefined;
149
+
/**
150
+
* Combined with {@link className} there are no updates to the content inside this boundary itself but the boundary has resized or moved due to other changes to siblings.
151
+
* `"none"` is a special value that deactivates the view transition name under that condition.
152
+
*/
153
+
layout?: "none"|(string&{})|undefined;
139
154
/**
140
155
* "auto" will automatically assign a view-transition-name to the inner DOM node.
141
156
* That way you can add a View Transition to a Component without controlling its DOM nodes styling otherwise.
* Combined with {@link className} if this `<ViewTransition>` is being mounted and another instance with the same name is being unmounted elsewhere.
185
+
* `"none"` is a special value that deactivates the view transition name under that condition.
186
+
*/
187
+
share?: "none"|(string&{})|undefined;
188
+
/**
189
+
* Combined with {@link className} if the content of this `<ViewTransition>` has changed either due to DOM mutations or because an inner child has resized.
190
+
* `"none"` is a special value that deactivates the view transition name under that condition.
0 commit comments