Back to Content

PageSwapEvent: activation property

files/en-us/web/api/pageswapevent/activation/index.md

latest646 B
Original Source

{{APIRef("HTML DOM")}}

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

Value

A {{domxref("NavigationActivation")}} object, or null if the associated navigation has a cross-origin URL anywhere in the redirect chain.

Examples

See the main {{domxref("PageSwapEvent")}} page.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also