Skip to content

Commit e8803b4

Browse files
authored
Update article.md
1 parent f528a8a commit e8803b4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ observer.observe(node, config);
2828
- `characterData` -- whether to observe `node.data` (text content),
2929
- `characterData` -- ایا `node.data` (text content) را مشاهده کنیم یا نه
3030

31-
Few other options:
32-
- `attributeOldValue` -- if `true`, pass both the old and the new value of attribute to callback (see below), otherwise only the new one (needs `attributes` option),
33-
- `characterDataOldValue` -- if `true`, pass both the old and the new value of `node.data` to callback (see below), otherwise only the new one (needs `characterData` option).
31+
چند گزینه دیگر:
32+
- `attributeOldValue` --بود هم مقدار قذیم و هم مقدار جدید attribute به callback پاس داده می شود `true` اگر
33+
- `characterDataOldValue` --(needs `characterData` option) پاس می دهیم، در غیر این صورت فقط مقدار جدید را callback را یه `node.data` بود هم مقدار جدید و هم مقدار قدیم `true` اگر
3434

3535
Then after any changes, the `callback` is executed: changes are passed in the first argument as a list of [MutationRecord](https://dom.spec.whatwg.org/#mutationrecord) objects, and the observer itself as the second argument.
3636

0 commit comments

Comments
 (0)