PageSwapEvent: viewTransition property

Limited availability

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.

Value

A ViewTransition object, or null if no view transition is active when the event is fired.

Examples

See the main PageSwapEvent page.

Specifications

Specification
HTML Standard
# dom-pageswapevent-viewtransition

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
viewTransition

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

See also