Package | webstorage |
Class | public class StorageEvent |
Inheritance | StorageEvent Event Object |
Introduced in: | HTML 5 |
See also
Property | Defined By | ||
---|---|---|---|
DOM 2 Events bubbles : Boolean [read-only]
Used to indicate whether or not an event is a bubbling event. | Event | ||
DOM 2 Events cancelable : Boolean [read-only]
Indicates whether the event is cancelable or not. | Event | ||
DOM 2 Events currentTarget : EventTarget [read-only]
Identifies the current target for the event, as the event traverses the DOM. | Event | ||
DOM 3 Events defaulPrevented : Boolean [read-only]
Used to indicate whether Event.preventDefault() has been called for
this event. | Event | ||
Non-Standard domain : DOMString [read-only]
The domain the field is stored in. | StorageEvent | ||
DOM 2 Events eventPhase : Number [read-only]
Used to indicate which phase of event flow is currently being accomplished. | Event | ||
Non-Standard explicitOriginalTarget : nsIDOMEventTarget [read-only]
The explicit original target of the event. | Event | ||
Non-Standard isTrusted : Boolean [read-only]
Determines if the event was from the user or script generated. | Event | ||
Web Storage key : DOMString [read-only]
The key being changed. | StorageEvent | ||
DOM 3 Events namespaceURI : DOMString [read-only]
The namespace URI associated with this event at initialization time, or
null if it is unspecified. | Event | ||
Web Storage newValue : DOMString [read-only]
The new value of the key being changed. | StorageEvent | ||
Web Storage oldValue : DOMString [read-only]
The old value of the key being changed. | StorageEvent | ||
Non-Standard originalTarget : * [read-only]
The original target of the event before any retargetings. | Event | ||
Web Storage source : WindowProxy [read-only]
The WindowProxy object of the browsing context of the document whose key changed. | StorageEvent | ||
Web Storage storageArea : Storage [read-only]
The Storage object that was affected. | StorageEvent | ||
DOM 2 Events target : EventTarget [read-only]
Used to indicate the event target. | Event | ||
DOM 2 Events timeStamp : DOMTimeStamp [read-only]
Used to specify the time at which the event was created in milliseconds
relative to 1970-01-01T00:00:00Z. | Event | ||
DOM 2 Events type : DOMString [read-only]
The local name of the event type. | Event | ||
Non-Standard uri : DOMString [read-only]
The URL of the page that changed the field. | StorageEvent | ||
Web Storage url : DOMString [read-only]
The address of the document whose key changed. | StorageEvent |
Method | Defined By | ||
---|---|---|---|
Initializes attributes of an Event created through the
DocumentEvent.createEvent method. | Event | ||
DOM 3 Events initEventNS(namespaceURIArg:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean):void
Initializes attributes of an Event object. | Event | ||
Web Storage initStorageEvent(typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, keyArg:DOMString, oldValueArg:DOMString, newValueArg:DOMString, urlArg:DOMString, sourceArg:WindowProxy, storageAreaArg:Storage):void
Initializes attributes of an Event created through the
DocumentEvent.createEvent method. | StorageEvent | ||
Web Storage initStorageEventNS(namespaceURI:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, keyArg:DOMString, oldValueArg:DOMString, newValueArg:DOMString, urlArg:DOMString, sourceArg:WindowProxy, storageAreaArg:Storage):void
Initializes attributes of a StorageEvent object. | StorageEvent | ||
Obsolete preventBubble():void
Prevents the event from bubbling. | Event | ||
Obsolete preventCapture():void
This method is deprecated in favor of standard stopPropagation and is removed in Gecko 1.9. | Event | ||
DOM 2 Events preventDefault():void
Cancels the event if it is cancelable, without stopping further propagation of the event. | Event | ||
DOM 3 Events stopImmediatePropogation():void
Prevents other event listeners from being triggered and, unlike
Event.stopPropagation() its effect is immediate . | Event | ||
DOM 2 Events stopPropogation():void
Prevents other event listeners from being triggered but its effect is
deferred until all event listeners attached on the Event.currentTarget
have been triggered . | Event |
domain | property |
domain:DOMString
[read-only] Product Versions : | 5.5 6.0 7.0 8.0 as IE7 8.0 as IE8 2.0 3.0 3.5b4 3.0 3.1 4.0 1.0 2.0 9.62 10.0b |
Non-standard (Mozilla)
The domain the field is stored in.
public function get domain():DOMString
See also
Web Storage key | property |
key:DOMString
[read-only] Product Versions : | 5.5 6.0 7.0 8.0 as IE7 8.0 as IE8 2.0 3.0 3.5b4 3.0 3.1 4.0 1.0 2.0 9.62 10.0b |
Introduced in: | HTML 5 |
The key being changed.
public function get key():DOMString
See also
Web Storage newValue | property |
newValue:DOMString
[read-only] Product Versions : | 5.5 6.0 7.0 8.0 as IE7 8.0 as IE8 2.0 3.0 3.5b4 3.0 3.1 4.0 1.0 2.0 9.62 10.0b |
Introduced in: | HTML 5 |
The new value of the key being changed.
public function get newValue():DOMString
See also
Web Storage oldValue | property |
oldValue:DOMString
[read-only] Product Versions : | 5.5 6.0 7.0 8.0 as IE7 8.0 as IE8 2.0 3.0 3.5b4 3.0 3.1 4.0 1.0 2.0 9.62 10.0b |
Introduced in: | HTML 5 |
The old value of the key being changed.
public function get oldValue():DOMString
See also
Web Storage source | property |
source:WindowProxy
[read-only] Product Versions : | 5.5 6.0 7.0 8.0 as IE7 8.0 as IE8 2.0 3.0 3.5b4 3.0 3.1 4.0 1.0 2.0 9.62 10.0b |
Introduced in: | HTML 5 |
The WindowProxy object of the browsing context of the document whose key changed.
public function get source():WindowProxy
See also
Web Storage storageArea | property |
storageArea:Storage
[read-only] Product Versions : | 5.5 6.0 7.0 8.0 as IE7 8.0 as IE8 2.0 3.0 3.5b4 3.0 3.1 4.0 1.0 2.0 9.62 10.0b |
Introduced in: | HTML 5 |
The Storage object that was affected.
public function get storageArea():Storage
See also
uri | property |
uri:DOMString
[read-only] Product Versions : | 5.5 6.0 7.0 8.0 as IE7 8.0 as IE8 2.0 3.0 3.5b4 3.0 3.1 4.0 1.0 2.0 9.62 10.0b |
Non-standard (Apple)
The URL of the page that changed the field.
public function get uri():DOMString
See also
Web Storage url | property |
url:DOMString
[read-only] Product Versions : | 5.5 6.0 7.0 8.0 as IE7 8.0 as IE8 2.0 3.0 3.5b4 3.0 3.1 4.0 1.0 2.0 9.62 10.0b |
Introduced in: | HTML 5 |
The address of the document whose key changed.
public function get url():DOMString
See also
Web Storage initStorageEvent | () | method |
public function initStorageEvent(typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, keyArg:DOMString, oldValueArg:DOMString, newValueArg:DOMString, urlArg:DOMString, sourceArg:WindowProxy, storageAreaArg:Storage):void
Introduced in: | DOM 3 Events |
Initializes attributes of an Event created through the DocumentEvent.createEvent method.
Parameters
typeArg:DOMString — Event.type, the local name of the
event type.
| |
canBubbleArg:Boolean — Specifies Event.bubbles. This parameter overrides
the intrinsic bubbling behavior of the event.
| |
cancelableArg:Boolean — Specifies Event.cancelable. This parameter
overrides the intrinsic cancelable behavior of the event.
| |
keyArg:DOMString — The key being changed.
| |
oldValueArg:DOMString — The old value of the key being changed.
| |
newValueArg:DOMString — The new value of the key being changed.
| |
urlArg:DOMString — The address of the document whose key changed.
| |
sourceArg:WindowProxy — The WindowProxy object of the browsing context of the document whose key changed.
| |
storageAreaArg:Storage — The Storage object that was affected.
|
See also
Web Storage initStorageEventNS | () | method |
public function initStorageEventNS(namespaceURI:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, keyArg:DOMString, oldValueArg:DOMString, newValueArg:DOMString, urlArg:DOMString, sourceArg:WindowProxy, storageAreaArg:Storage):void
Introduced in: | DOM 3 Events |
Initializes attributes of a StorageEvent object. This method has the same behavior as Event.initEventNS().
Parameters
namespaceURI:DOMString — Refer to the Event.initEventNS() method for a description of this parameter.
| |
typeArg:DOMString — Refer to the Event.initEventNS() method for a description of this parameter.
| |
canBubbleArg:Boolean — Refer to the Event.initEventNS() method for a description of this parameter.
| |
cancelableArg:Boolean — Refer to the Event.initEventNS() method for a description of this parameter.
| |
keyArg:DOMString — Specifies StorageEvent.key.
| |
oldValueArg:DOMString — Specifies StorageEvent.oldValue.
| |
newValueArg:DOMString — Specifies StorageEvent.newValue.
| |
urlArg:DOMString — Specifies StorageEvent.url.
| |
sourceArg:WindowProxy — Specifies StorageEvent.source.
| |
storageAreaArg:Storage — Specifies StorageEvent.storageArea.
|
See also