MutationObserver Class |
A object can be used to observe mutations to the tree of .
Namespace: Aspose.Html.Dom.Mutations
The MutationObserver type exposes the following members.
Name | Description | |
---|---|---|
![]() | MutationObserver | Constructs a MutationObserver object and sets its MutationCallback to callback. The callback is invoked with a list of MutationRecord objects as first argument and the constructed MutationObserver object as second argument. It is invoked after nodes registered with the [!:Observe(Node, IMutationObserverInit)] method, are mutated. |
Name | Description | |
---|---|---|
![]() | Disconnect | Stops observer from observing any mutations. Until the observe() method is used again, observer’s callback will not be invoked. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetPlatformType | This method is used to retrieve the ECMAScript object . |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Observe(Node) | Instructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object). The options argument allows for setting mutation observation options via object members. |
![]() | Observe(Node, MutationObserverInit) | Instructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object). The options argument allows for setting mutation observation options via object members. |
![]() | TakeRecords | The method returns a copy of the record queue and then empty the record queue. |
![]() | ToString | (Inherited from Object.) |