Questions tagged [angular-output]

7 questions
1
vote
1 answer

Testing Angular Output without spying on the component instance

Let's suppose I have the following component: @Component({ selector: 'app-dumb', template: '' }) export class DumbComponent { @Output() onIncrement = new EventEmitter(); …
0
votes
1 answer

Max Stack Call Size when adding parent's tamplate into child's HTML template in Angular

This is the child's template:

Degrees:

Type:
SKL
  • 1,243
  • 4
  • 32
  • 53

0
votes
0 answers

How to dynamically create @Output on an Angular Component?

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:
Alex Pappas
  • 2,377
  • 3
  • 24
  • 48