The PageTransitionEvent
THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML DOM PageTransitionEvent

❮ DOM Events ❮ Event Objects


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:

The Event Object


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

❮ DOM Events ❮ Event Objects