You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 2, 2025. It is now read-only.
<nav><a href="http://dev.opera.com/articles/view/mutation-observers-tutorial/">Return to article</a></nav>
</header>
<article>
<p>In this example, we are creating 2500 paragraphs, and appending them to a document fragment. Then we'll append that document fragment to a <code>div</code> element. Each element added fires a new <code>DOMNodeInserted</code> event, which causes our event handler to be invoked.</p>
<p>Our <code>DOMNodeInserted</code> event handler was invoked <b class="numevents">0</b> times.</p>