Ngfor在“材料”弹出窗口中

时间:2019-06-10 08:25:24

标签: angular dart

如何将click属性用于ngFor在材质弹出窗口中创建的div?

<material-popup class="menu-items-style" [source]="customer_table_menu" [(visible)]="row.showModel">

   <div *ngFor="let item of row.Buttons()"
     (click)="clickeddd(7)">

        <div >{{item['name']}} </div>
    </div>
    <div (click)="clickeddd(4)">clickkkxcxc</div>
</material-popup>

0 个答案:

没有答案