* Set the PointerFocusTracker and ensure that when mouse focus changes the key manager is updated * with the latest menu item under mouse focus.
()
| 254 | * with the latest menu item under mouse focus. |
| 255 | */ |
| 256 | private _setUpPointerTracker() { |
| 257 | if (this.menuAim) { |
| 258 | this.ngZone.runOutsideAngular(() => { |
| 259 | this.pointerTracker = new PointerFocusTracker(this._renderer, this.items); |
| 260 | }); |
| 261 | this.menuAim.initialize(this, this.pointerTracker!); |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | /** Handles focus landing on the host element of the menu. */ |
| 266 | private _handleFocus() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…