Whether this item has a submenu.
()
| 201 | |
| 202 | /** Whether this item has a submenu. */ |
| 203 | async hasSubmenu(): Promise<boolean> { |
| 204 | return (await this.host()).matchesSelector(MatMenuHarness.hostSelector); |
| 205 | } |
| 206 | |
| 207 | /** Gets the submenu associated with this menu item, or null if none. */ |
| 208 | async getSubmenu(): Promise<MatMenuHarness | null> { |
no test coverage detected