* Sets the active item to the item at the specified index and focuses the newly active item. * @param item The index of the item to be set as active, or the CdkMenuItem instance.
(item: number | CdkMenuItem)
| 150 | * @param item The index of the item to be set as active, or the CdkMenuItem instance. |
| 151 | */ |
| 152 | setActiveMenuItem(item: number | CdkMenuItem) { |
| 153 | this.keyManager?.setActiveItem(item); |
| 154 | } |
| 155 | |
| 156 | /** Gets the tabindex for this menu. */ |
| 157 | _getTabIndex() { |
nothing calls this directly
no test coverage detected