@delegateEvents

@delegateEvents

(targetPrototype: Component, propertyKey: string): void

Property decorator: observe events on objects that are referenced by this property. For each event, the delegateEvent() method is invoked on the containing component. A default implementation is provided as Component.delegateEvent, but this method can be overridden by each subclass.

Note: This decorator must be combined with @managed, @managedChild, @component, or @service.