“Was macht Event -Emitter in Angular?” Code-Antworten

Angularereignisemitter

  @Output() open: EventEmitter<any> = new EventEmitter();


  toggel() {
  	this.open.emit(null);
  }	
Gorgeous Gentoo

Was macht Event -Emitter in Angular?

Data flows into your component via property bindings and flows out of your component through event bindings. If you want your component to notify his parent about something you can use the Output decorator with EventEmitter to create a custom event.
Cruel Cassowary

Ähnliche Antworten wie “Was macht Event -Emitter in Angular?”

Fragen ähnlich wie “Was macht Event -Emitter in Angular?”

Weitere verwandte Antworten zu “Was macht Event -Emitter in Angular?” auf JavaScript

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen