Skip to content

Function: createSessionStorage() ​

ts
function createSessionStorage(config?): StorageInstance;

Defined in: storage/presets.ts:106

Creates an instance over sessionStorage. Where the browser refuses to hand over the storage, it warns and keeps the values in memory. Where there is no window, as on the server, it holds nothing.

Parameters ​

ParameterType
config?StorageConfig

Returns ​

StorageInstance

Released under the MIT License.