- From: smaug---- <notifications@github.com>
- Date: Mon, 28 Dec 2015 08:22:04 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Monday, 28 December 2015 16:22:38 UTC
So even if MutationObserver keeps observing nodeA after calling disconnect(nodeB), the records which were created because of observing nodeA, are just lost. Feels a bit odd to me, and error prone. One needs to remember to call takeRecords to not have stuff lost. For the original use case would something like suppress(node)/unsuppress(node) work? It wouldn't affect to the queued records, but would just prevent creating new ones for the particular registered observer or relevant transient observers. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/126#issuecomment-167597753
Received on Monday, 28 December 2015 16:22:38 UTC