Home > @activeviam/activeui-sdk > MapStorage
MapStorage interface
Signature:
export interface MapStorage
Properties
Property | Type | Description |
---|---|---|
clear | () => void | Empty the storage. |
getKeys | () => string[] | List all existing keys. |
read | (a: string) => any | Return an element from the storage. |
remove | (a: string) => void | Remove an element from the storage. |
size | () => number | Return how many elements are currently present in the storage. |
write | (a: string, b: any) => void | Insert an element in the storage. |