A máš to takto?
class Zmeny{
start(){
var target= document.querySelector('#prehled');
var options= { childList:true, attributes:true, subtree:true};
this.observer= new MutationObserver(this.stop.bind(this));
this.observer.observe(target, options);
}
stop(){
this.observer.disconnect();
}
}