Hi! I am EOS tease creator. I just find out that you have upgraded your system to store the Tease Storage values in your database for logged in users, rather than to store them in the browser.
Here are my questions:
1. Do you provide any API for creators to drop all Tease Storage from the current tease? It's inconvenient to debug, and there isn't an API to remove item yet. Only setItem and getItem are in the API reference.
2. Will you provide a button or something for *users* to clear their storage? Sometimes the users will need to purge the storage. For example, in the last year when users want to have a test run of a tease, they can just play through and then clear the browser storage, but now it seems impossible to clear the storage at server end.
Thank you!
[EOS] Please Provide Methods to Clear Tease Storage
-
- Explorer
- Posts: 88
- Joined: Fri Aug 19, 2022 10:05 pm
Re: [EOS] Please Provide Methods to Clear Tease Storage
There is, maybe undocumented, function for this:
other functions:
So it seems that is is up to you to provide button for clearing the storage, and teases without such option can not be reseted.
Code: Select all
teaseStorage.clear()
Code: Select all
teaseStorage.length
teaseStorage.key( i )
teaseStorage.getItem( key )
teaseStorage.setItem( key, value )
teaseStorage.removeItem( key )
Who is online
Users browsing this forum: No registered users and 7 guests