This page covers a non-latest version of Handsontable.
# ChangesObserver
Table of contents
# Description
The ChangesObserver module is an object that represents a disposable resource provided by the ChangesObservable module.
# Methods
# subscribe
Source code (opens new window)changesObserver.subscribe(callback) ⇒ ChangesObserver
Subscribes to the observer.
Param | Type | Description |
---|---|---|
callback | function | A function that will be called when the new changes will appear. |
# unsubscribe
Source code (opens new window)changesObserver.unsubscribe() ⇒ ChangesObserver
Unsubscribes all subscriptions. After the method call, the observer would not produce any new events.