For the sake of simplicity, Let's say we have a MyComponent with an @Input() eventName = 'signal'.
I would like to use the value signal as the name of a dynamically created EventEmitter. Which I can use as a regular @Output as so:
<my-component [eventName]="'signal'" (signal)="onSignal()"></my-component>
My actual use case needs an array of "event" objects which would contain some other info for the template apart from the unique name to be used as the @Output name.
emitone@OutputnamedactionCLick, for example, which you can use to return some info on which action was clicked. The sole purpose of this requirement in the question is to eliminate the need to return the action name onemitand check for it on the parent component.