/* * Copyright (C)2005-2013 Haxe Foundation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ // This file is generated, do not edit! package js.html; /**
dom/interfaces/storage/nsIDOMStorageEvent.idlScriptable
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. */ @:native("StorageEvent") extern class StorageEvent extends Event { /** Represents the key changed. The key attribute is null when the change is caused by the storage clear() method. Read only. */ var key(default,null) : String; /** 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. */ var newValue(default,null) : String; /** The original value of the key. The oldValue is null when the change has been invoked by storage clear() method or the key has been newly added and therefor doesn't have any previous value. Read only. */ var oldValue(default,null) : String; /** Represents the Storage object that was affected. Read only. */ var storageArea(default,null) : Storage; /** The URL of the document whose key changed. Read only. */ var url(default,null) : String; function new( type : String, canBubble : Bool = true, cancelable : Bool = true ) : Void; function initStorageEvent( typeArg : String, canBubbleArg : Bool, cancelableArg : Bool, keyArg : String, ?oldValueArg : String, ?newValueArg : String, urlArg : String, storageAreaArg : Storage ) : Void; }