Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Local Forage

try {
    const value = await localforage.getItem('somekey');
    // This code runs once the value has been loaded
    // from the offline store.
    console.log(value);
} catch (err) {
    // This code runs if there were any errors.
    console.log(err);
}
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #Local #Forage
ADD COMMENT
Topic
Name
1+5 =