how to add a secondary action in mat-list-option (mat-selection-list) item

前端 未结 2 918
傲寒
傲寒 2021-01-19 05:47

How is it possible, to add an secondary action (mat-icon-button) in an mat-selection-list inside the mat-list-option element.

Currently all items are added inside th

2条回答
  •  一向
    一向 (楼主)
    2021-01-19 06:08

    I think the event should look like this.

    onEdit(event, item){
        event.stopPropagation();
    } 
    

提交回复
热议问题