Gets or set a value from storage. Unlike getItem and setItem, the value is not required to be a string. All values will be serialized to string prior to being stored. To specify serialization, {@link StorageOptions#transformer}
The number of values this instance is managing
Removes all keys managed by the storage object.
Retrieves data stored is storage.
The identifier used to locate data in storage.
Retrieves data from the object stored as a property.
Retrieves an identifier
The position at which to look for an identifier. Index be at least zero and must be less than length.
Deletes data stored in storage
The identifier used to locate the data to be deleted
Stores data in storage
The identifier to associate stored data with
The data to place in storage
Stores data in a private private property that will not be stored in storage. This is necessary because creating a class property results in an extra key in storage.
Generated using TypeDoc
Represent the native sessionStorage object. Can be injected into a component that needs access to sessionStorage.