CookieChangeEvent Class
The change events of the Cookie Store API (https://cookiestore.spec.whatwg.org/#cookiechangeevent), fired at window.cookieStore.
public sealed class CookieChangeEvent : Event- Inheritance
EventCookieChangeEvent
Constructors
| Name | Description |
|---|---|
| CookieChangeEvent(string, CookieChangeEventInit?) | Creates a cookie change event with the given type and initialization dictionary. |
CookieChangeEvent(string, CookieChangeEventInit?)
CookieStore.csCreates a cookie change event with the given type and initialization dictionary.
public CookieChangeEvent(string type, CookieChangeEventInit? eventInitDict = null)Properties
| Name | Description |
|---|---|
| Changed | Gets the created or changed cookies (https://cookiestore.spec.whatwg.org/#dom-cookiechangeevent-changed). |
| Deleted | Gets the deleted cookies, without value (https://cookiestore.spec.whatwg.org/#dom-cookiechangeevent-deleted). |
Changed
CookieStore.csGets the created or changed cookies (https://cookiestore.spec.whatwg.org/#dom-cookiechangeevent-changed).
public IReadOnlyList<CookieListItem> Changed { get; }Deleted
CookieStore.csGets the deleted cookies, without value (https://cookiestore.spec.whatwg.org/#dom-cookiechangeevent-deleted).
public IReadOnlyList<CookieListItem> Deleted { get; }