vadnica-logo
X

JavaScript HTML DOM Events: pageshow

The pageshow event is fired when the user navigates to a web page – either on the initial load, or when returning from the browser's cache. On the event object, the event.persisted property lets us check whether the page was restored from the bfcache.

EXAMPLE
RESULT

Thank you for visiting! Adding privacy policy.

© 2024 All rights reserved.

Vam je koda pomagala? Če želite podpreti moj trud pri pripravi vodičev in vzdrževanju strani, mi lahko namenite donacijo za kavo.