StorageEventInit Class
https://html.spec.whatwg.org/multipage/webstorage.html#storageeventinit
public sealed class StorageEventInit : EventInit- Inheritance
EventInitStorageEventInit
Constructors
| Name | Description |
|---|---|
| StorageEventInit() |
StorageEventInit()
HtmlEvents.cspublic StorageEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Key | Gets the key that was changed, or null when the storage was cleared. |
| NewValue | Gets the new value of the key, or null when it was removed. |
| OldValue | Gets the previous value of the key, or null when it did not exist. |
| StorageArea | Gets the storage area that changed. |
| Url | Gets the URL of the document whose storage changed. |
Gets the key that was changed, or null when the storage was cleared.
public string? Key { get; init; }Property value
See also
NewValue
HtmlEvents.csGets the new value of the key, or null when it was removed.
public string? NewValue { get; init; }OldValue
HtmlEvents.csGets the previous value of the key, or null when it did not exist.
public string? OldValue { get; init; }StorageArea
HtmlEvents.csGets the storage area that changed.
public Storage? StorageArea { get; init; }Gets the URL of the document whose storage changed.
public string Url { get; init; }