Mutation Observer Test

1. このページの目的

Mutation Observer Test を理解する。

2. Mutation Observer とは?

The MutationObserver interface provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification.

(引用元: MutationObserver - Web APIs | MDN

あくまでも DOMの要素が観察対象になります。

※ mutation (n.) 変化

3. デモ


4. ソースコード


5. 参考