Skip to content

Instantly share code, notes, and snippets.

/fiddle.html
Created Mar 16, 2018

Embed
What would you like to do?
Open the console to see the output of this example.
localforage.setItem('somekey', 'some value', function(err, value) {
// Do other things once the value has been saved.
console.log(value);
localforage.getItem('somekey', function(err,value) {
console.log('we just read ' + value);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.