Tag
dom
Published articles tagged dom.
Observing element changes with MutationObserver in JavaScript
MutationObserver runs a callback after the DOM changes — attributes, child nodes, or text — without polling. This page shows how to configure observation narrowly so you pay only for the mutations you care about.