MutationEvent : Event
Return to: HTML DOM Level 2 index

Provides information about a mutation event.

Platform Support

IE Mozilla Netscape Opera Safari Chrome
no 1.0+ 6.0+ 7.0+ 1.0+ no

Constructors

Constructor Action IE Mozilla Netscape Opera Safari Chrome
MutationEvent Constructor() : MutationEvent
Provides information about a mutation event.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+ no

MutationEvent() : MutationEvent

Provides information about a mutation event.

Returns
MutationEvent

Visibility
internal

Properties

Property Action IE Mozilla Netscape Opera Safari Chrome
attrChange : Number
Specifies how an attribute was modified. See remarks for possible values. See remarks for possible values.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+ no
Remarks
Possible values are: 1=MODIFICATION event (Attr node was modified), 2=ADDITION event (Attr node was added), 3=REMOVAL event (Attr node was removed).
Availability

HTML DOM Level 2|W3C

attrName : String
Name of the attribute that was modified.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+ no
Availability

HTML DOM Level 2|W3C

newValue : String
New value of the attribute.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+ no
Availability

HTML DOM Level 2|W3C

prevValue : String
Previous value of the attribute.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+ no
Availability

HTML DOM Level 2|W3C

Associated node for attribute modification events, or the parent node of an inserted or deleted node.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+ no
Availability

HTML DOM Level 2|W3C

Functions

Method Action IE Mozilla Netscape Opera Safari Chrome
Sets the initial property values for a new MutationEvent object.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+ no

Returns
void

Availability

HTML DOM Level 2|W3C

Availability

HTML DOM Level 2|W3C

text_javascript aptana_docs