<-- Storage code samples

Storage Events

The storage event will broadcast to any tabs and windows which are open to the same page that a change to the data has occurred. The StorageEvent object has the following properties:

  1. key
  2. oldValue
  3. newValue
  4. url
  5. storage object

Local Storage

  1. Hit Ctrl+Shift+I to open the Developer tools and see the data being set.
  2. Open a new tab instance of this page by clicking this link: Second tab instance
  3. Add a value in this tab and see it reflected in the other




Result