MutationObserver
@native @JSGlobal @JSType
class MutationObserver(callback: Function2[Array[MutationRecord], MutationObserver, _]) extends Object
MutationObserver provides developers a way to react to changes in a DOM. It is designed as a replacement for Mutation Events defined in the DOM3 Events specification.
class Object
trait Any
class Object
trait Matchable
class Any
Value members
Concrete methods
Stops the MutationObserver instance from receiving notifications of DOM mutations. Until the observe() method is used again, observer's callback will not be invoked.
Stops the MutationObserver instance from receiving notifications of DOM mutations. Until the observe() method is used again, observer's callback will not be invoked.
Registers the MutationObserver instance to receive notifications of DOM mutations on the specified node.
Registers the MutationObserver instance to receive notifications of DOM mutations on the specified node.