-1

I am using with multi selection property. I would like to have an event that gets fired when the user closes the panel, e.g. by clicking outside the panel. Is there a way to get hold of such an event?

Picci
  • 16,775
  • 13
  • 70
  • 113
  • Does this answer your question? [Mat select click outside not working, when drop down close](https://stackoverflow.com/questions/50698658/mat-select-click-outside-not-working-when-drop-down-close) – dota2pro Feb 04 '20 at 15:32

1 Answers1

1

The same question - Mat select click outside not working, when drop down close

You can use the openedChange event: (openedChange)="openedChange($event)"

mat-select api - @Output() openedChange: EventEmitter<boolean> - Event emitted when the select panel has been toggled.