Class

Constructor

Class

O.LocalStorage

LocalStorage provides an observable object interface to the local/session
storage facilities provided by modern browsers. Essentially, you can treat
it as an instance of O.Object whose values persists between page reloads
(and between browser sessions if not set to session-only).

Since data is serialised to a string for storage, only native JS types
should be stored; class instances will not be restored correctly.