PageSwapEvent Class
https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-pageswapevent-interface: the pageswap event, fired at the window of a document that is about to be replaced by a navigation.
public sealed class PageSwapEvent : Event- Inheritance
EventPageSwapEvent
Constructors
| Name | Description |
|---|---|
| PageSwapEvent(string, PageSwapEventInit?) | Creates a page swap event with the given type and initialization dictionary. |
PageSwapEvent(string, PageSwapEventInit?)
PageEvents.csCreates a page swap event with the given type and initialization dictionary.
public PageSwapEvent(string type, PageSwapEventInit? eventInitDict = null)Properties
| Name | Description |
|---|---|
| Activation | Gets the activation of the navigation (the entries and the type of the navigation), or null for a cross-origin navigation. |
| ViewTransition | Gets the view transition of the navigation, or null when the navigation has no cross-document view transition. |
Activation
PageEvents.csGets the activation of the navigation (the entries and the type of the navigation), or null for a cross-origin navigation.
public NavigationActivation? Activation { get; }ViewTransition
PageEvents.csGets the view transition of the navigation, or null when the navigation has no cross-document view transition.
public ViewTransition? ViewTransition { get; }