* Determines whether the trigger owns a specific menu panel, at the current point in time. * This allows us to distinguish the case where the same panel is passed into multiple triggers * and multiple are open at a time.
(menu: MatMenuPanel)
| 482 | * and multiple are open at a time. |
| 483 | */ |
| 484 | private _ownsMenu(menu: MatMenuPanel): boolean { |
| 485 | return PANELS_TO_TRIGGERS.get(menu) === this; |
| 486 | } |
| 487 | |
| 488 | /** |
| 489 | * Detect if the trigger element is aria-disabled, indicating it should behave as |