fromMutationObserver
Last updated
Was this helpful?
Last updated
Was this helpful?
[Ⓣ][1]
Creates an observable sequence from a MutationObserver
. The MutationObserver
provides developers a way to react to changes in a DOM. This requires MutationObserver
to be supported in your browser/JavaScript runtime.
target
(Node): The Node on which to obserave DOM mutations.
options
(MutationObserverInit): A object, specifies which DOM mutations should be reported.
(Observable): An observable sequence which contains mutations on the given DOM target.