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

Function openFileMenu

src/cdk/menu/context-menu-trigger.spec.ts:340–343  ·  view source on GitHub ↗

Open up the file menu from the menu bar.

()

Source from the content-addressed store, hash-verified

338
339 /** Open up the file menu from the menu bar. */
340 function openFileMenu() {
341 nativeMenuBarTrigger.click();
342 fixture.detectChanges();
343 }
344
345 it('should close the open context menu when clicking on the menubar element', () => {
346 openContextMenu();

Callers 1

Calls 1

clickMethod · 0.65

Tested by

no test coverage detected