Package | dom.events |
Class | public class MutationNameEvent |
Inheritance | MutationNameEvent MutationEvent Event Object |
Introduced in: | DOM 3 Events |
See also
Property | Defined By | ||
---|---|---|---|
DOM 2 Events attrChange : Number [read-only]
Indicates the type of change which triggered the DOMAttrModified event. | MutationEvent | ||
DOM 2 Events attrName : DOMString [read-only]
Indicates the name of the changed Attr node in a DOMAttrModified event. | MutationEvent | ||
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 | ||
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 | ||
DOM 3 Events namespaceURI : DOMString [read-only]
The namespace URI associated with this event at initialization time, or
null if it is unspecified. | Event | ||
DOM 2 Events newValue : DOMString [read-only]
Indicates the new value of the Attr node in DOMAttrModified events, and
of the CharacterData node in DOMCharacterDataModified events. | MutationEvent | ||
Non-Standard originalTarget : * [read-only]
The original target of the event before any retargetings. | Event | ||
DOM 3 Events prevNamespaceURI : DOMString [read-only]
The previous value of the relatedNode's namespaceURI. | MutationNameEvent | ||
DOM 3 Events prevNodeName : DOMString [read-only]
The previous value of the relatedNode's nodeName. | MutationNameEvent | ||
DOM 2 Events prevValue : DOMString [read-only]
Indicates the previous value of the Attr node in DOMAttrModified events,
and of the CharacterData node in DOMCharacterDataModified events. | MutationEvent | ||
DOM 2 Events relatedNode : Node [read-only]
is used to identify a secondary node related to a mutation event. | MutationEvent | ||
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 |
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 | ||
DOM 2 Events initMutationEvent(typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, relatedNodeArg:XMLNode, prevValueArg:DOMString, newValueArg:DOMString, attrNameArg:DOMString, attrChangeArg:Number):void
Initializes attributes of a MutationEvent object. | MutationEvent | ||
DOM 3 Events initMutationEventNS(namespaceURIArg:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, relatedNodeArg:XMLNode, prevValueArg:DOMString, newValueArg:DOMString, attrNameArg:DOMString, attrChangeArg:Number):void
Initializes attributes of a MutationEvent object. | MutationEvent | ||
DOM 3 Events initMutationNameEvent(typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, relatedNodeArg:XMLNode, prevNamespaceURIArg:DOMString, prevNodeNameArg:DOMString):void
Initializes attributes of a MutationNameEvent object. | MutationNameEvent | ||
DOM 3 Events initMutationNameEventNS(namespaceURIArg:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, relatedNodeArg:XMLNode, prevNamespaceURIArg:DOMString, prevNodeNameArg:DOMString):void
Initializes attributes of a MutationNameEvent object. | MutationNameEvent | ||
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 |
Constant | Defined By | ||
---|---|---|---|
HTML 4.0 abort : String = abort [static]
Loading of a resource has been aborted. | Event | ||
DOM 2 Events ADDITION : Number = 2 [static]
The Attr was just added. | MutationEvent | ||
DOM 2 Events AT_TARGET : Number = 2 [static]
The current event is in the target phase, i.e. | Event | ||
DOM 2 Events BUBBLING_PHASE : Number = 3 [static]
The current event phase is the bubbling phase. | Event | ||
DOM 2 Events CAPTURING_PHASE : Number = 1 [static]
The current event phase is the capture phase. | Event | ||
HTML 4.0 change : String = change [static]
A control loses the input focus and its value has been modified since gaining focus. | Event | ||
DOM 3 Events DOMAttributeNameChanged : String = DOMAttributeNameChanged [static]
Occurs after the namespaceURI and/or the nodeName of a Attr node have been modified (e.g., the attribute was
renamed using Document.renameNode()). | MutationNameEvent | ||
DOM 2 Events DOMAttrModified : String = DOMAttrModified [static]
Occurs after Attr.value has been modified and after an Attr node has been added to or removed from an Element. | MutationEvent | ||
DOM 2 Events DOMCharacterDataModified : String = DOMCharacterDataModified [static]
Occurs after CharacterData.data or ProcessingInstruction.data have been modified but the node itself has not been
inserted or deleted. | MutationEvent | ||
DOM 3 Events DOMElementNameChanged : String = DOMElementNameChanged [static]
Occurs after the namespaceURI and/or the nodeName of an Element node have been modified (e.g., the element was
renamed using Document.renameNode()). | MutationNameEvent | ||
DOM 2 Events DOMNodeInserted : String = DOMNodeInserted [static]
A node has been added as a child of another node or, in case of Attr nodes, has been added to an Element. | MutationEvent | ||
DOM 2 Events DOMNodeInsertedIntoDocument : String = DOMNodeInsertedIntoDocument [static]
A node has been inserted into a document, either through direct insertion of the node or insertion of a subtree in which
it is contained; Attr nodes are considered part of an Element's subtree. | MutationEvent | ||
DOM 2 Events DOMNodeRemoved : String = DOMNodeRemoved [static]
A node is being removed from its parent node or, in case of Attr nodes, removed from its ownerElement. | MutationEvent | ||
DOM 2 Events DOMNodeRemovedFromDocument : String = DOMNodeRemovedFromDocument [static]
A node is being removed from a document, either through direct removal of the node or removal of a subtree in which
it is contained; Attr nodes are considered part of an Element's subtree. | MutationEvent | ||
DOM 2 Events DOMSubtreeModified : String = DOMSubtreeModified [static]
This is a general event for notification of all changes to the document. | MutationEvent | ||
HTML 4.0 error : String = error [static]
A resource failed to load, or has been loaded but cannot be interpreted according to its semantics
such as an invalid image, a script execution error, or non-well-formed XML. | Event | ||
HTML 4.0 load : String = load [static]
The DOM Implementation finishes loading the resource (such as the document) and any dependent resources
(such as images, style sheets, or scripts). | Event | ||
DOM 2 Events MODIFICATION : Number = 1 [static]
The Attr was modified in place. | MutationEvent | ||
DOM 2 Events REMOVAL : Number = 3 [static]
The Attr was just removed. | MutationEvent | ||
HTML 4.0 reset : String = reset [static]
A form, such as a [HTML 4.01] or [XHTML 1.0] form, is reset. | Event | ||
HTML 4.0 select : String = select [static]
A user selects some text. | Event | ||
HTML 4.0 submit : String = submit [static]
A form, such as a [HTML 4.01] or [XHTML 1.0] form, is submitted. | Event | ||
HTML 4.0 unload : String = unload [static]
The DOM implementation removes from the environment the resource (such as the document) or any dependent
resources (such as images, style sheets, scripts). | Event |
DOM 3 Events prevNamespaceURI | property |
prevNamespaceURI:DOMString
[read-only] Introduced in: | DOM 3 Events |
The previous value of the relatedNode's namespaceURI.
public function get prevNamespaceURI():DOMString
See also
DOM 3 Events prevNodeName | property |
prevNodeName:DOMString
[read-only] Introduced in: | DOM 3 Events |
The previous value of the relatedNode's nodeName.
public function get prevNodeName():DOMString
See also
DOM 3 Events initMutationNameEvent | () | method |
public function initMutationNameEvent(typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, relatedNodeArg:XMLNode, prevNamespaceURIArg:DOMString, prevNodeNameArg:DOMString):void
Introduced in: | DOM 3 Events |
Initializes attributes of a MutationNameEvent object. This method has the same behavior as MutationEvent.initMutationEvent().
Parameters
typeArg:DOMString — Specifies 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.
| |
relatedNodeArg:XMLNode — Specifies MutationEvent.relatedNode.
| |
prevNamespaceURIArg:DOMString — Specifies MutationNameEvent.prevNamespaceURI. This value may be null.
| |
prevNodeNameArg:DOMString — Specifies MutationNameEvent.prevNodeName.
|
See also
DOM 3 Events initMutationNameEventNS | () | method |
public function initMutationNameEventNS(namespaceURIArg:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, relatedNodeArg:XMLNode, prevNamespaceURIArg:DOMString, prevNodeNameArg:DOMString):void
Introduced in: | DOM 3 Events |
Initializes attributes of a MutationNameEvent object. This method has the same behavior as MutationEvent.initMutationEventNS().
Parameters
namespaceURIArg:DOMString — Specifies Event.namespaceURI, the namespace URI associated with this event, or null if no namespace.
| |
typeArg:DOMString — Specifies 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.
| |
relatedNodeArg:XMLNode — Specifies MutationEvent.relatedNode.
| |
prevNamespaceURIArg:DOMString — Specifies MutationNameEvent.prevNamespaceURI. This value may be null.
| |
prevNodeNameArg:DOMString — Specifies MutationNameEvent.prevNodeName.
|
See also
DOM 3 Events DOMAttributeNameChanged | Constant |
public static const DOMAttributeNameChanged:String = DOMAttributeNameChanged
Introduced in: | DOM 3 Events |
Occurs after the namespaceURI and/or the nodeName of a Attr node have been modified (e.g., the attribute was renamed using Document.renameNode()). The target node of this event is the Element node whose Attr has been renamed.
Title | Value |
---|---|
Cancelable | No |
Bubbles | Yes |
Target | Element |
Context info | MutationNameEvent.prevNamespaceURI, and MutationNameEvent.prevNodeName are in use. The value of MutationEvent.relatedNode contains the renamed Attr node. |
See also
DOM 3 Events DOMElementNameChanged | Constant |
public static const DOMElementNameChanged:String = DOMElementNameChanged
Introduced in: | DOM 3 Events |
Occurs after the namespaceURI and/or the nodeName of an Element node have been modified (e.g., the element was renamed using Document.renameNode()). The target node of this event is the renamed Element node.
Title | Value |
---|---|
Cancelable | No |
Bubbles | Yes |
Target | Element |
Context info | MutationNameEvent.prevNamespaceURI, and MutationNameEvent.prevNodeName are in use. |
See also