Docs (4.0.0)
class Observer method

observeProperty

Starts observing one or more properties.

protected

protected observeProperty(...properties: Array<keyof T>): this

Notes

  • Property changes are triggered when the property is assigned a different value, or when a referenced managed object emits a ManagedChangeEvent.
  • Changes are handled by Observer.handlePropertyChange() first, which may be overridden. The base implementation of that method looks for a method called on...Change (e.g. onFooChange for the foo property) and calls it with the property value and possibly a change event as arguments.

Related