MDN self-hosted library · e01.org

PageSwapEvent: viewTransition property

HTML DOM

no runnable cells web-api-instance-property upstream source

HTML DOM

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 Document.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

Browser compatibility

See also