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

Function getContextMenu

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

Get the menu opened by the context menu trigger.

()

Source from the content-addressed store, hash-verified

27
28 /** Get the menu opened by the context menu trigger. */
29 function getContextMenu() {
30 return fixture.componentInstance.menu;
31 }
32
33 /** Return a reference to the context menu native element. */
34 function getNativeContextMenu() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected