WebIDLpedia

MutationObserver interface

Definition

DOM Standard defines MutationObserver



[Exposed=Window]
interface MutationObserver {
  constructor(MutationCallback callback);

  undefined observe(Node target, optional MutationObserverInit options = {});
  undefined disconnect();
  sequence<MutationRecord> takeRecords();
};

Methods and attributes that return objects implementing MutationObserver