Class PageTransitionEvent
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The PageTransitionEvent event object is available inside handler functions for the pageshow and pagehide events, fired when a document is being loaded or unloaded.
[Value("PageTransitionEvent")]
public class PageTransitionEvent : Event
- Inheritance
-
PageTransitionEvent
- Inherited Members
Remarks
Constructors
PageTransitionEvent()
public PageTransitionEvent()
PageTransitionEvent(string, PageTransitionEventInit)
The PageTransitionEvent() constructor creates a new PageTransitionEvent object, that is used by the Windowpageshow or Windowpagehide events, fired at the Window object when a page is loaded or unloaded.
public PageTransitionEvent(string type, PageTransitionEventInit eventInitDict = null)
Parameters
typestringeventInitDictPageTransitionEventInit
Remarks
NOTE
A web developer doesn't typically need to call this constructor, as the browser creates these objects itself when firing Windowpageshow or Windowpagehide events.
Properties
Persisted
The persisted read-only property indicates if a webpage is loading from a cache.
[Value("persisted")]
public bool Persisted { get; }
Property Value
- bool
A boolean value.