Skip to content

Documentation / js-sdk-core / LocalStorage

Class: LocalStorage

Implements

Constructors

new LocalStorage(undefined)

new LocalStorage(): LocalStorage

Returns

LocalStorage

Methods

del()

del(key): void

Parameters

key: string

Returns

void

Implementation of

js-sdk-core.Storage.del


get()

get(key): Promise<any>

Parameters

key: string

Returns

Promise<any>

Implementation of

js-sdk-core.Storage.get


getKeys()

getKeys(): string[]

Returns

string[]

Implementation of

js-sdk-core.Storage.getKeys


put()

put(key, val): void

Parameters

key: string

val: unknown

Returns

void

Implementation of

js-sdk-core.Storage.put