doSomething(){
this.open.emit() ;
this.close.emit() ;
}
As you may think of open and close is output decorator. I want first it open.emit() when completed it do close.emit()
I am calling doSomething on a (click) event
<button (click)="doSomething()">
</button>