Persistence Storage

This utility allows to store data in localStorage using Aria Templates storage API. Being stored in localStorage, the data persists even after closing the browser. Users can use localStorage by creating an instance of, data can be saved by setItem(nameOfItem, dataToStore), data can be retreived by getItem(nameOfItem) and data can be cleared from localStorage by using clear() method.

The simple way to use Local Storage is as follows

Please refer the API documentation on methods/properties defined on Storage.