IndexedDBDataSource class
Storage in the browser, uses indexed db storage
IndexedDBDataSource Type
Signature:
export declare class IndexedDBDataSource<Type> implements IDataSource<Type>
Implements: IDataSource<Type>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(_storageKey) | Constructs a new instance of the IndexedDBDataSource class |
Methods
Method | Modifiers | Description |
---|---|---|
delete(key, keyName) | deletes item from the indexed db storage | |
get(key, keyName) | Gets value from the indexed db storage by given key | |
load() | loads all from the indexed db storage | |
save(key, value, keyName) | Saves value to the indexed db storage |