Skip to content

Commit 51b00eb

Browse files
authored
Update article.md
1 parent e4dca14 commit 51b00eb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ let observer = new MutationObserver(callback);
2020
```js
2121
observer.observe(node, config);
2222
```
23-
24-
`config` is an object with boolean options "what kind of changes to react on":
25-
- `childList` -- changes in the direct children of `node`,
23+
(کانفیگ)`config` یک شی با boolean options "به چه نوع تغییراتی باید واکنش نشان داد" است:
24+
- `childList` -- `node` از direct children تغییراتی در
2625
- `subtree` -- in all descendants of `node`,
2726
- `attributes` -- attributes of `node`,
2827
- `attributeFilter` -- an array of attribute names, to observe only selected ones.

0 commit comments

Comments
 (0)