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: guide/animations.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -247,6 +247,31 @@ This will give you a nice sliding effects on slide switching. Setting it in the
247
247
-`slide-right` - Slides to the right (slide to left when going backward)
248
248
-`slide-up` - Slides to the top (slide to bottom when going backward)
249
249
-`slide-down` - Slides to the bottom (slide to top when going backward)
250
+
-`view-transition` - Slides with the view transitions API
251
+
252
+
### View Transitions
253
+
254
+
> Available since v0.43.0
255
+
256
+
The **View Transitions API** provides a mechanism for easily creating animated transitions between different DOM states. Learn more how it works in [View Transitions API - MDN Web Docs - Mozilla](https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API).
257
+
258
+
:::warning
259
+
Experimental: This is not supported by all browsers. Check the [Browser compatibility table](https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API#browser_compatibility) carefully before using this.
260
+
:::
261
+
262
+
You can use the `view-transition-name` CSS property to name view transitions, which creates connections between different page elements and smooth transitions when switching slides.
263
+
264
+
You can enable [MDC (Markdown Component) Syntax](https://content.nuxtjs.org/guide/writing/mdc) support to conveniently name view-transitions:
0 commit comments