Class: DataObserver

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 *