Skip to main content
Version: Next

WebStorage

Home > @backstage/core-app-api > WebStorage

An implementation of the storage API, that uses the browser's local storage.

Signature:

class WebStorage implements StorageApi 

Implements: StorageApi

Constructors

ConstructorModifiersDescription
(constructor)(namespace, errorApi)Constructs a new instance of the WebStorage class

Methods

MethodModifiersDescription
create(options)static
forBucket(name)
get(key)
observe$(key)
remove(key)
set(key, data)
snapshot(key)