HTML DOM PageTransitionEvent

❮ DOM Events ❮ Event Objects


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:

The Event Object


❮ DOM Events ❮ Event Objects

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.