Observing the addition of nodes to a document fragment.

In this example, we're going to watch for updates to a document fragment. Using a document fragment is a way of batching DOM additions into one update. Clicking the Add paragraphs button will append the document fragment. Clicking the Add to body button will add the document fragment to the document's body.

0 mutation(s) occurred.