Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On change event for stored content #36

Open
freebolik opened this issue Sep 30, 2015 · 2 comments
Open

On change event for stored content #36

freebolik opened this issue Sep 30, 2015 · 2 comments

Comments

@freebolik
Copy link

Hello.

You provide a good tool to work with. Thank you.
But Currently, there is no event handling mechanism provided. I mean handling storage change event https://w3c.github.io/webstorage/#the-storage-event and maybe cookie setTimeout listener spike.

@guillaumepotier
Copy link
Member

Hi there,

Thanks for using basil!

Idea is quite good, could be great to implement this event mechanisme for every storage mechanism basil handle within its layer.

Though, it could be something tricky and ressource consuming (not fan of timeouts jungle) and not used by many.

What could be great is to think about an event plugin on top of basil.js (like done for sets, lists..)

WDYT?

@freebolik
Copy link
Author

Yep, I think event plugin would be the right way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants