There was an error while loading. Please reload this page.
1 parent e4dca14 commit 51b00ebCopy full SHA for 51b00eb
1 file changed
2-ui/99-ui-misc/01-mutation-observer/article.md
@@ -20,9 +20,8 @@ let observer = new MutationObserver(callback);
20
```js
21
observer.observe(node, config);
22
```
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`,
+ (کانفیگ)`config` یک شی با boolean options "به چه نوع تغییراتی باید واکنش نشان داد" است:
+- `childList` -- `node` از direct children تغییراتی در
26
- `subtree` -- in all descendants of `node`,
27
- `attributes` -- attributes of `node`,
28
- `attributeFilter` -- an array of attribute names, to observe only selected ones.
0 commit comments