Mutation observer
转载:Mutation observer - javascript.info
MutationObserver is a built-in object that observes a DOM element and fires a callback when it detects a change.
We’ll first take a look at the syntax, and then explore a real-world use case, to see where such thing may be useful.
# Syntax
MutationObserver is...
more...