HTML DOM PageTransitionEvent
The PageTransitionEvent Object
Events that occur when user navigates to, and away from, a webpage.
PageTransitionEvent Properties and Methods
Property/Method | Description |
---|---|
persisted | Returns whether the webpage was cached by the browser |
Inherited Properties and Methods
The PageTransitionEvent inherits all the properties and methods from:
Event Types
These event types belongs to the PageTransitionEvent Object:
Event | Description |
---|---|
pagehide | The event occurs when the user navigates away from a webpage |
pageshow | The event occurs when the user navigates to a webpage |