You can use Material matMenuTrigger directive to check whether the menu is open or not <button mat-button [matMenuTriggerFor]="menu" ...
確定! 回上一頁