Skip to content

Commit c38b4ce

Browse files
authored
Update article.md
1 parent 8e6c35a commit c38b4ce

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
12
# Mutation observer
23

34
`MutationObserver` is a built-in object that observes a DOM element and fires a callback when it detects a change.
45

56
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.
67

78
## Syntax
9+
810
`MutationObserver` is easy to use.
911

1012
First, we create an observer with a callback-function:

0 commit comments

Comments
 (0)