I started using amplifijs and I successfully stored and retrieved my objects in the storage, but I don't know ho to remove them by name.
I used this syntax:
amplify.store("name",{valName1:"val1", ...});
var storage = amplify.store("name");
var val1 = storage.valName1;
How can I remove them by name like?
amplify.remove("name");
I found the answer :
amplify.store("name",null);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With