PageSwapEvent: activation property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The activation read-only property of the PageSwapEvent interface contains a NavigationActivation object containing the navigation type and current and destination document history entries for a same-origin navigation.

Value

A NavigationActivation object, or null if the associated navigation has a cross-origin URL anywhere in the redirect chain.

Examples

See the main PageSwapEvent page.

Specifications

Specification
HTML
# dom-pageswapevent-activation

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
activation

See also