mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ADF-1769] Added JSDocs for services (#2949)
This commit is contained in:
committed by
Eugenio Romano
parent
8bfac2f9f8
commit
9887d8bca4
+15
-13
@@ -4,20 +4,22 @@ Stores items in the form of key-value pairs.
|
||||
|
||||
## Methods
|
||||
|
||||
`getItem(key: string): string | null` <br/>
|
||||
Gets an item identified by `key`.
|
||||
- `getItem(key: string): string`
|
||||
Gets an item.
|
||||
- `key` - Key to identify the item
|
||||
- `setItem(key: string, data: string)`
|
||||
Stores an item
|
||||
- `key` - Key to identify the item
|
||||
- `data` - Data to store
|
||||
- `clear()`
|
||||
Removes all currently stored items.
|
||||
|
||||
`setItem(key: string, data: string)` <br/>
|
||||
Stores an item under `key`.
|
||||
|
||||
`clear()` <br/>
|
||||
Removes all currently stored items.
|
||||
|
||||
`removeItem(key: string)` <br/>
|
||||
Removes the item identified by `key`.
|
||||
|
||||
`hasItem(key: string): boolean` <br/>
|
||||
Is any item currently stored under `key`?
|
||||
- `removeItem(key: string)`
|
||||
Removes a single item.
|
||||
- `key` - Key to identify the item
|
||||
- `hasItem(key: string): boolean`
|
||||
Is any item currently stored under `key`?
|
||||
- `key` - Key identifying item to check
|
||||
|
||||
## Details
|
||||
|
||||
|
||||
Reference in New Issue
Block a user