handlePropertyChange
A method that’s called when an observed property has been changed on the observed object, may be overridden.
protected
protected handlePropertyChange(property: string, value: any, event?: ManagedChangeEvent): Promise<void> | void
Notes
- Each property to be observed must be added using Observer.observeProperty() or Observer.observePropertyAsync().
- The base implementation calls a handler method based on the property name, e.g.
onFooChange()
; refer to Observer.observeProperty().
Related
- class ObserverThe base class for an observer that watches a particular ManagedObject.
- observeProperty(…properties) protectedStarts observing one or more properties.
- observePropertyAsync(…properties) protectedStarts observing one or more properties, asynchronously.