Is it possible to observe innerHTML of node via mutationObserver? I'm trying to use characterData: true, but it does not shoot any callback on content change. full options list:
childList: true,
attributes: true,
characterData: true
Hi I think you need to add
subtree: true
in your options list.
Have a look at https://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#mutation-observers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With