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

Function getMenuTrigger

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

Get the context in which the context menu should trigger.

()

Source from the content-addressed store, hash-verified

37
38 /** Get the context in which the context menu should trigger. */
39 function getMenuTrigger() {
40 return fixture.componentInstance.triggerElement.nativeElement;
41 }
42
43 /** Open up the context menu and run change detection. */
44 function openContextMenu() {

Callers 2

openContextMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…