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:
parent
2b5502a2c8
commit
8d71d86c70
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ There's a method to stop observing the node:
|
||||||
|
|
||||||
When we stop the observing, it might be possible that some changes were not yet processed by the observer. In such cases, we use
|
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.
|
||||||
|
|
||||||
These methods can be used together, like this:
|
These methods can be used together, like this:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue