Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 515.2k

How the below code works

Jul 9 2024 6:24 AM

Hi

  How the below code workd

openDialog($event:Event){
    this.openModal.emit($event);

  }
<div class="m-l-10" matTooltip="ADD">
                  <button mat-mini-fab color="primary" (click)="openDialog($event)">
                    <mat-icon class="col-white">add</mat-icon>
                  </button>
                </div>

Thanks


Answers (1)