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

Function mouseout

src/aria/menu/menu.spec.ts:42–45  ·  view source on GitHub ↗
(element: Element)

Source from the content-addressed store, hash-verified

40 };
41
42 const mouseout = async (element: Element) => {
43 element.dispatchEvent(new MouseEvent('mouseout', {bubbles: true}));
44 await fixture.whenStable();
45 };
46
47 const click = async (element: Element, eventInit?: PointerEventInit) => {
48 element.dispatchEvent(new PointerEvent('click', {bubbles: true, ...eventInit}));

Callers 1

menu.spec.tsFile · 0.70

Calls 1

dispatchEventMethod · 0.65

Tested by

no test coverage detected