MCPcopy
hub / github.com/angular/components / openFileMenu

Function openFileMenu

src/cdk/menu/menu-bar.spec.ts:275–279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273
274 describe('for Menu', () => {
275 function openFileMenu() {
276 focusMenuBar();
277 dispatchKeyboardEvent(menuBarNativeItems[0], 'keydown', SPACE);
278 detectChanges();
279 }
280
281 function openShareMenu() {
282 dispatchKeyboardEvent(nativeMenus[0], 'keydown', DOWN_ARROW);

Callers 1

menu-bar.spec.tsFile · 0.70

Calls 5

focusMenuBarFunction · 0.85
dispatchKeyboardEventFunction · 0.85
dispatchMouseEventFunction · 0.85
triggerFocusFunction · 0.85
detectChangesFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…