* Returns the menu if present.
()
| 434 | * Returns the menu if present. |
| 435 | */ |
| 436 | getMenu(): HTMLElement | null { |
| 437 | let menuId = this.getTrigger().getAttribute('aria-controls'); |
| 438 | return menuId ? document.getElementById(menuId) : null; |
| 439 | } |
| 440 | |
| 441 | /** |
| 442 | * Returns the menu's sections if any. |