You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gdotdesign edited this page Nov 3, 2014
·
2 revisions
The localStorage wrapper is available with the Fron::Storage::LocalStorage(documentation) module. The only difference is that is saves the given data with JSON so there is no need to convert.
storage=Fron::Storage::LocalStorage# Get itemstorage.get'item'# Set itemstorage.set'item','data'# Remove itemstorage.remove'item'# Clear (remove all items)storage.clear# Get all itemsstroage.all