SessionStorage

storage/SessionStorage~ SessionStorage

Implementation of the Storage interface that relies on the native sessionStorage DOM storage for storing its entries.

Constructor

new SessionStorage(window)

Source:
Initializes the session storage.
Parameters:
Name Type Description
window Window

Members

_storage :Storage

Source:
The DOM storage providing the actual storage of the entries.
Type:
  • Storage

Methods

_deleteOldestEntry()

Source:
Deletes the oldest entry in this storage.

clear()

Source:

delete()

Source:

get()

Source:

has()

Source:

init()

Source:

keys()

Source:

set()

Source:

size()

Source: