The disconnect JS MutationObserver stops observer from observing any mutations. Until the observe() method is used again, observer’s callback will not be invoked.
Syntax
observer.disconnect()
The disconnect JS MutationObserver stops observer from observing any mutations. Until the observe() method is used again, observer’s callback will not be invoked.
observer.disconnect()