DataObserver

Members

observedDataArray

Observed source data.

observerobject

JsonPatch observer.

pausedboolean

Flag which determines if observer is paused or not. Paused observer doesn't emit change hooks.

Default Value: false

Methods

destroy()

Destroy observer instance.

isPaused(){boolean}

Check if observer was paused.

Returns: {boolean}

pause()

Pause observer (stop emitting all detected changes).

resume()

Resume observer (emit all detected changes).

setObservedData(observedData)

Set data to observe.

Parameters:
Name Type Description
observedData *

Set an object to observe.

Class: DataObserver