-
Notifications
You must be signed in to change notification settings - Fork 22.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
init StorageEvent documentation #29760
Conversation
Co-authored-by: wbamberg <[email protected]>
@skyclouds2001 , This event is not cancelable and does not bubble. |
This can be added as a sentence at the end of the storage event page on This event is not cancelable and does not bubble. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope this will be helpful.
@ShubhamOulkar There is a GitHub feature that allows you to propose a change: When clicking on the +/- button, you can make a suggestion: the author can accept it if it is pertinent. It is quicker, and GitHub credits you with the edit. |
Thanks! Content updated |
I'm not quite agree with the change on deleting |
Where do you see this? |
is it about sessionStorage deletion? |
Yep, these ' - ' shouldn't be removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@teoli2003 @skyclouds2001, see following gif as proof from my side
about session storage, if I did anything wrong let me know.
@@ -10,6 +10,8 @@ browser-compat: api.Window.storage_event | |||
|
|||
The **`storage`** event of the {{domxref("Window")}} interface fires when a storage area (`localStorage` or `sessionStorage`) has been modified in the context of another document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #30598 (comment)
Description
add StorageEvent documentation
Motivation
add those missing documentations of
StorageEvent
StorageEvent()
StorageEvent.key
StorageEvent.newValue
StorageEvent.oldValue
StorageEvent.storageArea
StorageEvent.url
Additional details
See StorageEvent Interface
Also Broadcast Storage Event
Related issues and pull requests
Fixes #29419