SessionMapStorage 

The SessionMap storage is an implementation of the Storage interface acting as a synchronization proxy between the underlying map storage and the sessionStorage DOM storage.

Kind: global class


new SessionMapStorage(map, session) 

Initializes the storage.

Param Type Description
map MapStorage The map storage to use.
session SessionStorage The session storage to use.

sessionMapStorage._map : MapStorage 

The map storage, synced with the session storage.

Kind: instance property of SessionMapStorage


sessionMapStorage._session : SessionStorage 

The session storage, synced with the map storage.

Kind: instance property of SessionMapStorage


sessionMapStorage.init() 

Kind: instance method of SessionMapStorage


sessionMapStorage.has() 

Kind: instance method of SessionMapStorage


sessionMapStorage.get() 

Kind: instance method of SessionMapStorage


sessionMapStorage.set() 

Kind: instance method of SessionMapStorage


sessionMapStorage.delete() 

Kind: instance method of SessionMapStorage


sessionMapStorage.clear() 

Kind: instance method of SessionMapStorage


sessionMapStorage.keys() 

Kind: instance method of SessionMapStorage


sessionMapStorage.size() 

Kind: instance method of SessionMapStorage