MCPcopy Create free account
hub / github.com/angular/components / onMouseOver

Method onMouseOver

src/aria/private/menu/menu.ts:566–572  ·  view source on GitHub ↗

Handles mouseover events for the menu bar.

(event: MouseEvent)

Source from the content-addressed store, hash-verified

564
565 /** Handles mouseover events for the menu bar. */
566 onMouseOver(event: MouseEvent) {
567 const item = this.inputs.items().find(i => i.element()?.contains(event.target as Node));
568
569 if (item) {
570 this.goto(item, {focusElement: this.isFocused()});
571 }
572 }
573
574 /** Handles focusin events for the menu bar. */
575 onFocusIn() {

Callers

nothing calls this directly

Calls 3

gotoMethod · 0.95
isFocusedMethod · 0.65
elementMethod · 0.45

Tested by

no test coverage detected