@onPropertyEvent

@onPropertyEvent

(...observedProperties: string[]): MethodDecorator

Observer method decorator: amend decorated method to turn it into a handler for events on managed objects that are referred to by given managed reference property/ies (decorated with @managed, @managedChild, or @component).

Note: This decorator is intended for use on methods that are part of an observer class, see ManagedObject.addObserver().