HTML DOM PageTransitionEvent
The PageTransitionEvent Object
The PageTransitionEvent Object handles events that occur when a user navigates to or from a webpage.
PageTransition Events
| Event | Occurs When |
|---|---|
| pagehide | A user navigates away from a webpage |
| pageshow | A user navigates to a webpage |
PageTransitionEvent Properties
| Property | Returns |
|---|---|
| persisted | If the webpage was cached by the browser |
Inherited Properties and Methods
The PageTransitionEvent inherits all the properties and methods from: