https://github.com/fredcy/localstorage runs in Elm 0.17 and has storage events. The provided examples show it handling some events.
That repo will never be published as an Elm package though. I originally named it "Storage", thinking to do session storage next. But it's a dead end and I gave up that plan. On Monday, October 31, 2016 at 10:15:06 AM UTC-5, David Andrews wrote: > > Because primitives rock. If we expose API primitives in a typesafe way, > we allow the community to use them to create useful libraries. > > I actually see that the persistent cache package has a LocalStorage module > which exposes a subset of my proposed API. However, It does not implement > the storage event which allows for easy synching across open tabs/windows. > It also does not implement any bindings for sessionStorage. > >> >> -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
