* Place focus on the last MenuItem in the menu and set the focus origin. * @param focusOrigin The origin input mode of the focus event.
(focusOrigin: FocusOrigin = 'program')
| 141 | * @param focusOrigin The origin input mode of the focus event. |
| 142 | */ |
| 143 | focusLastItem(focusOrigin: FocusOrigin = 'program') { |
| 144 | this.keyManager.setFocusOrigin(focusOrigin); |
| 145 | this.keyManager.setLastItemActive(); |
| 146 | } |
| 147 | |
| 148 | /** |
| 149 | * Sets the active item to the item at the specified index and focuses the newly active item. |
nothing calls this directly
no test coverage detected