HTML DOM PageTransitionEvent
PageTransitionEvent object
Event that occurs when the user navigates to and leaves a webpage.
PageTransition event properties and methods
Property/Method | Description |
---|---|
persisted | Returns whether the webpage is cached by the browser. |
Inherited Properties and Methods
PageTransitionEvent inherits all properties and methods from the following objects:
Event Type
These event types belong to the PageTransitionEvent object:
Event | Description |
---|---|
pagehide | This event occurs when the user leaves a webpage to navigate. |
pageshow | This event occurs when the user navigates to a webpage. |