Update 2-ui/99-ui-misc/01-mutation-observer/article.md

Co-authored-by: Muhammed Zakir <8190126+MuhammedZakir@users.noreply.github.com>
This commit is contained in:
Peter Kampjes 2020-09-01 08:53:56 -03:00 committed by GitHub
parent 51e5aa9b2c
commit 4830a26deb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
# Mutation observer
`MutationObserver` is a built-in object that observes a DOM element and fires a callback if there are changes.
`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.