This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

attrChange

Summary

Gets a value that indicates what type of change occurred.

Property of dom/MutationEventdom/MutationEvent

Syntax

Note: This property is read-only.

var changeType = event.attrChange;

Return Value

Returns an object of type NumberNumber

One of the following numbers -

  • 1 - a modification occurred.
  • 2 - an addition occurred.
  • 3 - a removal occurred.

Related specifications

DOM Level 2 Events
Recommendation

See also

Related articles

Deprecated

Attributions