我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們，幫忙翻譯！
StorageEvent is sent to a window when a storage area changes.
Note: Although this event existed prior to Gecko 2.0, it did not match the specification. The old event format is now represented by the
||Represents the key changed. The
||The new value of the
||The original value of the
||Represents the Storage object that was affected. Read only.|
||The URL of the document whose
Initializes the event in a manner analogous to the similarly-named method in the DOM Events interfaces.
void initStorageEvent( in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString keyArg, in DOMString oldValueArg, in DOMString newValueArg, in DOMString urlArg, in nsIDOMStorage storageAreaArg );
- The name of the event.
- A boolean indicating whether the event bubbles up through the DOM or not.
- A boolean indicating whether the event is cancelable.
- The key whose value is changing as a result of this event.
- The key's old value.
- The key's new value.
- Missing Description
- The DOM
Storageobject representing the storage area on which this event occurred.