MutationEvent: attrChange プロパティ
Deprecated
To be removed
This feature is pending removal from browsers. Using it now may lead to broken functionality in future updates. Mutation events negatively impact performance and they were selected for removal from the web as part of Interop 2025. >
Use the following features instead: MutationObserver.>
attrChange は MutationEvent インターフェイスの読み取り専用プロパティで、 DOMAttrModified イベントのトリガーとなった変更の種類を示す数値を返します。取り得る値は MODIFICATION (1)、ADDITION (2)、REMOVAL(3) の 3 つです。この値は他のイベントでは意味を持たず、0 に設定されます。