MutationEvent.attrChange (Property)

The value in this property describes the kind of change that has taken place when the mutation event was an attribute change.

Availability:

DOM level - 2
JavaScript - 1.5
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:NmyMutationEvent.attrChange

This value is meaningful for DOMAttrModified events.

The MutationEvent class provides the following constant values for testing attribute change property values:

ValueSymbolic name
1MODIFICATION
2ADDITION
3REMOVAL

See also:Attribute object, MutationEvent.newValue, MutationEvent.prevValue, Node.attributes[]

Property attributes:

ReadOnly.