Open Vanwards opened 7 years ago
I am very confused by the question - can you elaborate?
I use ng-metadata for migration to angular 2. If you use a component in a modal window, you can not return the result of the fact that ng-metadata EventEmitter uses $event as a return value.
@Output() close = new EventEmitter<boolean>();
...
this.close.emit(true); //in template - $ctrl.close($event)
Hello,
Is it possible to add the ability to change the name of the variable for the modal result ($value) of "close" method in the case of using the component? If you are using EventEmitter of ng-metdata, the result is always returned in the form of a variable $event.
https://hotell.gitbooks.io/ng-metadata/content/docs/api/core/class.html#eventemitter