Gets the id of the menu panel associated with this menu.
()
| 139 | |
| 140 | /** Gets the id of the menu panel associated with this menu. */ |
| 141 | private async _getPanelId(): Promise<string | null> { |
| 142 | const panelId = await (await this.host()).getAttribute('aria-controls'); |
| 143 | return panelId || null; |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | export class MatMenuItemHarness extends ContentContainerComponentHarness<string> { |
no test coverage detected