This feature is not Baseline because it does not work in some of the most widely-used browsers.
The viewTransition read-only property of the PageRevealEvent interface contains a ViewTransition object representing the active view transition for the cross-document navigation.
A ViewTransition object, or null if no view transition is active when the event is fired.
See the main PageRevealEvent page.
| Specification |
|---|
| HTML> # dom-pagerevealevent-viewtransition> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
viewTransition |
126 | 126 | No | 112 | 18.2 | 126 | No | 83 | 18.2 | 28.0 | 126 | 18.2 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PageRevealEvent/viewTransition