SessionMapStorage

storage/SessionMapStorage~ 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.

Constructor

new SessionMapStorage(map, session)

Source:
Initializes the storage.
Parameters:
Name Type Description
map MapStorage The map storage to use.
session SessionStorage The session storage to use.

Members

_map :MapStorage

Source:
The map storage, synced with the session storage.
Type:
  • MapStorage

_session :SessionStorage

Source:
The session storage, synced with the map storage.
Type:
  • SessionStorage

Methods

clear()

Source:

delete()

Source:

get()

Source:

has()

Source:

init()

Source:

keys()

Source:

set()

Source:

size()

Source: