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 09:02:40 -03:00 committed by GitHub
parent 751f78a06c
commit 2b5502a2c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -236,7 +236,7 @@ There's a method to stop observing the node:
- `observer.disconnect()` -- stops the observation. - `observer.disconnect()` -- stops the observation.
When we stop the observing, it might be possible that some changes were not yet processed by the observer. When we stop the observing, it might be possible that some changes were not yet processed by the observer. In such cases, we use
- `observer.takeRecords()` -- gets a list of unprocessed mutation records, those that happened, but the callback has not handled them. - `observer.takeRecords()` -- gets a list of unprocessed mutation records, those that happened, but the callback has not handled them.