Firefox Tomorrow

web api instance property

PageSwapEvent: viewTransition property

View on MDN ↗

The viewTransition read-only property of the PageRevealEvent interface contains a ViewTransition object representing the active view transition for the cross-document navigation.

[!NOTE] The active view transition can also be accessed via the activeViewTransition property.

Value

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

Examples

See the main PageSwapEvent page.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also