class js.html.StorageEvent extends Event
Available on js
Describes an event occurring on HTML5 client-side storage data.
1.0
11.0
Introduced
Gecko 2.0
Inherits from:
nsIDOMEvent
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)
A StorageEvent
is sent to a window when a storage area changes.
Gecko 2.0 note
(Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)
Although this event existed prior to Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)
, it did not match the specification. The old event format is now represented by the nsIDOMStorageEventObsolete
interface.
Documentation for this class was provided by MDN.
Instance Fields
Represents the key changed. The key
attribute is null
when the change is caused by the storage clear()
method. Read only.
The new value of the key
. The newValue
is null
when the change has been invoked by storage clear()
method or the key
has been removed from the storage. Read only.