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

Function openCutContextMenu

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

Open up the cut context menu and run change detection.

()

Source from the content-addressed store, hash-verified

190
191 /** Open up the cut context menu and run change detection. */
192 function openCutContextMenu() {
193 // right click triggers a context menu event
194 dispatchMouseEvent(getCutMenuContext(), 'contextmenu');
195 fixture.detectChanges();
196 }
197
198 /** Open up the copy context menu and run change detection. */
199 function openCopyContextMenu() {

Callers 1

Calls 2

dispatchMouseEventFunction · 0.85
getCutMenuContextFunction · 0.85

Tested by

no test coverage detected