removeItem
removeItem(key: string,storage: null | string): void
remove a key from the specified storage
if the storage is set to 'any', try all storage
Properties
(Mandatory properties are in bold)| Properties | Type | Description |
|---|---|---|
| key | string | : name of the key to get the value from |
Additional properties for advanced use cases
| Properties | Type | Description |
|---|---|---|
| storage | null | string | : localStorage, sessionStorage, cookie, any (defaults to any) |