angular event emitter

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


  toggel() {
  	this.open.emit(null);
  }	
Source

Also in JavaScript: