* Get a reference to the rendered Menu if the Menu is open and it is visible in the DOM. * @return the menu if it is open, otherwise undefined.
()
| 147 | * @return the menu if it is open, otherwise undefined. |
| 148 | */ |
| 149 | getMenu(): Menu | undefined { |
| 150 | return this._menuTrigger?.getMenu(); |
| 151 | } |
| 152 | |
| 153 | /** Get the CdkMenuTrigger associated with this element. */ |
| 154 | getMenuTrigger(): CdkMenuTrigger | null { |