MCPcopy Index your code
hub / github.com/angular/components / _setUpPointerTracker

Function _setUpPointerTracker

src/cdk/menu/menu-base.ts:256–263  ·  view source on GitHub ↗

* Set the PointerFocusTracker and ensure that when mouse focus changes the key manager is updated * with the latest menu item under mouse focus.

()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…