PageRevealEvent: viewTransition property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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 PageRevealEvent page.

Specifications

Specification
HTML Standard
# dom-pagerevealevent-viewtransition

Browser compatibility

BCD tables only load in the browser

See also