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

Function focusout

src/aria/menu/menu.spec.ts:52–55  ·  view source on GitHub ↗
(element: Element, relatedTarget?: EventTarget)

Source from the content-addressed store, hash-verified

50 };
51
52 const focusout = async (element: Element, relatedTarget?: EventTarget) => {
53 element.dispatchEvent(new FocusEvent('focusout', {bubbles: true, relatedTarget}));
54 await fixture.whenStable();
55 };
56
57 async function setupMenu(opts?: {textDirection: 'ltr' | 'rtl'}) {
58 TestBed.configureTestingModule({

Callers 1

menu.spec.tsFile · 0.85

Calls 1

dispatchEventMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…