mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Release Note for 4.2 - Initial draft. (#6390)
* Release Note for 4.2 - Initial draft. * update dep * documentation * fix * remove script * lint Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com> Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
This commit is contained in:
co-authored by
Eugenio Romano
Eugenio Romano
parent
27167b3420
commit
5a4cc4edda
@@ -13,24 +13,25 @@ Stores key-value data items as browser cookies.
|
||||
|
||||
### Methods
|
||||
|
||||
- **clear**()<br/>
|
||||
* **clear**()<br/>
|
||||
Placeholder for testing purposes - do not use.
|
||||
- **deleteCookie**(key: `string`)<br/>
|
||||
* **deleteCookie**(key: `string`, path: `string|null` = `null`)<br/>
|
||||
Delete a cookie Key.
|
||||
- _key:_ `string` - Key to identify the cookie
|
||||
- **getItem**(key: `string`): `string|null`<br/>
|
||||
* *key:* `string` - Key to identify the cookie
|
||||
* *path:* `string|null` - "Pathname" to store the cookie
|
||||
* **getItem**(key: `string`): `string|null`<br/>
|
||||
Retrieves a cookie by its key.
|
||||
- _key:_ `string` - Key to identify the cookie
|
||||
- **Returns** `string|null` - The cookie data or null if it is not found
|
||||
- **isEnabled**(): `boolean`<br/>
|
||||
* *key:* `string` - Key to identify the cookie
|
||||
* **Returns** `string|null` - The cookie data or null if it is not found
|
||||
* **isEnabled**(): `boolean`<br/>
|
||||
Checks if cookies are enabled.
|
||||
- **Returns** `boolean` - True if enabled, false otherwise
|
||||
- **setItem**(key: `string`, data: `string`, expiration: `Date|null` = `null`, path: `string|null` = `null`)<br/>
|
||||
* **Returns** `boolean` - True if enabled, false otherwise
|
||||
* **setItem**(key: `string`, data: `string`, expiration: `Date|null` = `null`, path: `string|null` = `null`)<br/>
|
||||
Sets a cookie.
|
||||
- _key:_ `string` - Key to identify the cookie
|
||||
- _data:_ `string` - Data value to set for the cookie
|
||||
- _expiration:_ `Date|null` - Expiration date of the data
|
||||
- _path:_ `string|null` - "Pathname" to store the cookie
|
||||
* *key:* `string` - Key to identify the cookie
|
||||
* *data:* `string` - Data value to set for the cookie
|
||||
* *expiration:* `Date|null` - Expiration date of the data
|
||||
* *path:* `string|null` - "Pathname" to store the cookie
|
||||
|
||||
## Details
|
||||
|
||||
@@ -45,5 +46,5 @@ beyond this size.
|
||||
|
||||
## See also
|
||||
|
||||
- [Content service](content.service.md)
|
||||
- [Storage service](storage.service.md)
|
||||
* [Content service](content.service.md)
|
||||
* [Storage service](storage.service.md)
|
||||
|
||||
Reference in New Issue
Block a user