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() : MutationEventProvides information about a mutation event. Returns
|
|||||||||
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 |
|
|||||||
|
attrName
: String
Name of the attribute that was modified.
|
Show Details | no | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no |
|
|||||||
|
newValue
: String
New value of the attribute.
|
Show Details | no | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no |
|
|||||||
|
prevValue
: String
Previous value of the attribute.
|
Show Details | no | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no |
|
|||||||
|
relatedNode
: Node
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 |
|
|||||||
Functions
| Method | Action | IE | Mozilla | Netscape | Opera | Safari | Chrome | ||
|---|---|---|---|---|---|---|---|---|---|
|
initMutationEvent() : void
Sets the initial property values for a new MutationEvent object.
|
Show Details | no | 1.0+ | 6.0+ | 7.0+ | 1.0+ | no | ||
|
Returns
|
|||||||||
Availability
HTML DOM Level 2|W3C