This example demonstrates the usage of LocalStorage element in ForeUI.
Thanks to the HTML5 local storage, ForeUI simulation can save data locally, which will be persisted even after closing the web browser window, and can be used when the same simulation get opened again.
What's more, it provides a method to communicate between different web browser windows. This example shows how to synchronize the location of green ball between multiple web browser windows.
Please load the simulation in two or more web browsers windows, you will see the location of green ball is synchronized between them.
X=100, Y=100