Class: SessionStorage

SessionStorage

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


new SessionStorage(window)

Initializes the session storage.

Parameters:
Name Type Description
window Window

Members


_storage :Storage

The DOM storage providing the actual storage of the entries.

Type:

Methods


_deleteOldestEntry()

Deletes the oldest entry in this storage.


clear()


delete()


get()


has()


init()


keys()


set()


size()