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

Function getNativeContextMenu

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

Return a reference to the context menu native element.

()

Source from the content-addressed store, hash-verified

32
33 /** Return a reference to the context menu native element. */
34 function getNativeContextMenu() {
35 return fixture.componentInstance.nativeMenu?.nativeElement;
36 }
37
38 /** Get the context in which the context menu should trigger. */
39 function getMenuTrigger() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…