All Downloads are FREE. Search and download functionalities are using the official Maven repository.

goog.demos.history2.html Maven / Gradle / Ivy

Go to download

The Google Closure Library is a collection of JavaScript code designed for use with the Google Closure JavaScript Compiler. This non-official distribution was prepared by the ClojureScript team at http://clojure.org/

There is a newer version: 0.0-20230227-c7c0a541
Show newest version




  goog.History #2
  
  
  
  


  

goog.History #2

This page demonstrates the goog.History object which can create new browser history entries without leaving the page. This version maintains the history state internally, so that states are not visible or editable by the user, but the back and forward buttons can still be used to move between history states.

Try setting a few history tokens using the buttons and box below, then hit the back and forward buttons to test if the tokens are correctly restored.


The current history state:

The state should be correctly restored after you leave the page and hit the back button.

The history object can also be created so that the history state is visible and modifiable by the user. See history1.html for a demo.

Event Log




© 2015 - 2025 Weber Informatics LLC | Privacy Policy