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?
Asked
Active
Viewed 1,079 times
-1
-
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 Answers
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.

Kamil Augustyniak
- 419
- 2
- 9