PageRevealEvent Class

https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-pagerevealevent-interface: the pagereveal event, fired at the window of a document at its first rendering opportunity after it was activated.

public sealed class PageRevealEvent : Event
Inheritance
Event PageRevealEvent

Constructors

NameDescription
PageRevealEvent(string, PageRevealEventInit?)Creates a page reveal event with the given type and initialization dictionary.

PageRevealEvent(string, PageRevealEventInit?)

PageEvents.cs

Creates a page reveal event with the given type and initialization dictionary.

public PageRevealEvent(string type, PageRevealEventInit? eventInitDict = null)

Properties

NameDescription
ViewTransitionGets the inbound view transition of the navigation, or null when the navigation has no cross-document view transition.

ViewTransition

PageEvents.cs

Gets the inbound view transition of the navigation, or null when the navigation has no cross-document view transition.

public ViewTransition? ViewTransition { get; }